Class MessageGroupMetadata

java.lang.Object
org.springframework.integration.store.MessageGroupMetadata
All Implemented Interfaces:
Serializable

public class MessageGroupMetadata extends Object implements Serializable
Value Object holding metadata about a MessageGroup in the MessageGroupStore.
Since:
2.1
Author:
Oleg Zhurakousky, Gary Russell, Artem Bilan, Laszlo Szabo
See Also:
  • Constructor Details

    • MessageGroupMetadata

      public MessageGroupMetadata()
    • MessageGroupMetadata

      public MessageGroupMetadata(MessageGroup messageGroup)
  • Method Details

    • remove

      public void remove(UUID messageId)
    • removeAll

      public void removeAll(Collection<UUID> messageIds)
    • setLastModified

      public void setLastModified(long lastModified)
    • messageIdIterator

      public Iterator<UUID> messageIdIterator()
    • size

      public int size()
    • firstId

      public UUID firstId()
    • getMessageIds

      public List<UUID> getMessageIds()
      Obtain a LinkedList copy of the messageIds stored in the group.
      Returns:
      the list of messages ids stored in the group
    • complete

      public void complete()
    • isComplete

      public boolean isComplete()
    • getLastModified

      public long getLastModified()
    • getTimestamp

      public long getTimestamp()
    • setTimestamp

      public void setTimestamp(long timestamp)
    • getLastReleasedMessageSequenceNumber

      public int getLastReleasedMessageSequenceNumber()
    • setLastReleasedMessageSequenceNumber

      public void setLastReleasedMessageSequenceNumber(int lastReleasedMessageSequenceNumber)
    • getCondition

      public String getCondition()
    • setCondition

      public void setCondition(String condition)