org.springframework.integration.store
Class MessageGroupMetadata
java.lang.Object
org.springframework.integration.store.MessageGroupMetadata
- All Implemented Interfaces:
- java.io.Serializable
public class MessageGroupMetadata
- extends java.lang.Object
- implements java.io.Serializable
Immutable Value Object holding metadata about a MessageGroup.
- Since:
- 2.1
- Author:
- Oleg Zhurakousky
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageGroupMetadata
public MessageGroupMetadata(MessageGroup messageGroup)
remove
public void remove(java.util.UUID messageId)
setLastModified
public void setLastModified(long lastModified)
getGroupId
public java.lang.Object getGroupId()
messageIdIterator
public java.util.Iterator<java.util.UUID> messageIdIterator()
size
public int size()
firstId
public java.util.UUID firstId()
isComplete
public boolean isComplete()
getLastModified
public long getLastModified()
getTimestamp
public long getTimestamp()
getLastReleasedMessageSequenceNumber
public int getLastReleasedMessageSequenceNumber()