Class MessageGroupMetadata
java.lang.Object
org.springframework.integration.store.MessageGroupMetadata
- All Implemented Interfaces:
Serializable
Value Object holding metadata about a MessageGroup in the MessageGroupStore.
- Since:
- 2.1
- Author:
- Oleg Zhurakousky, Gary Russell, Artem Bilan, Laszlo Szabo, Ngoc Nhan
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
complete()
firstId()
long
int
Obtain aLinkedList
copy of themessageIds
stored in the group.long
boolean
void
void
removeAll
(Collection<UUID> messageIds) void
setCondition
(String condition) void
setLastModified
(long lastModified) void
setLastReleasedMessageSequenceNumber
(int lastReleasedMessageSequenceNumber) void
setTimestamp
(long timestamp) int
size()
-
Constructor Details
-
MessageGroupMetadata
public MessageGroupMetadata() -
MessageGroupMetadata
-
-
Method Details
-
remove
-
removeAll
-
setLastModified
public void setLastModified(long lastModified) -
messageIdIterator
-
size
public int size() -
firstId
-
getMessageIds
Obtain aLinkedList
copy of themessageIds
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
-
setCondition
-