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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MessageGroupMetadata(MessageGroup messageGroup)
-
Method Summary
Modifier and Type Method Description UUID
firstId()
String
getCondition()
long
getLastModified()
int
getLastReleasedMessageSequenceNumber()
List<UUID>
getMessageIds()
Obtain aLinkedList
copy of themessageIds
stored in the group.long
getTimestamp()
boolean
isComplete()
Iterator<UUID>
messageIdIterator()
void
remove(UUID messageId)
void
removeAll(Collection<UUID> messageIds)
void
setCondition(String condition)
int
size()
-
Constructor Details
-
Method Details
-
remove
-
removeAll
-
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
-
isComplete
public boolean isComplete() -
getLastModified
public long getLastModified() -
getTimestamp
public long getTimestamp() -
getLastReleasedMessageSequenceNumber
public int getLastReleasedMessageSequenceNumber() -
getCondition
-
setCondition
-