public class MessageGroupMetadata extends Object implements Serializable
Constructor and Description |
---|
MessageGroupMetadata(MessageGroup messageGroup) |
Modifier and Type | Method and Description |
---|---|
UUID |
firstId() |
long |
getLastModified() |
int |
getLastReleasedMessageSequenceNumber() |
List<UUID> |
getMessageIds()
Obtain a
LinkedList copy of the messageIds
stored in the group. |
long |
getTimestamp() |
boolean |
isComplete() |
Iterator<UUID> |
messageIdIterator() |
void |
remove(UUID messageId) |
void |
removeAll(Collection<UUID> messageIds) |
int |
size() |
public MessageGroupMetadata(MessageGroup messageGroup)
public void remove(UUID messageId)
public void removeAll(Collection<UUID> messageIds)
public int size()
public UUID firstId()
public List<UUID> getMessageIds()
LinkedList
copy of the messageIds
stored in the group.public boolean isComplete()
public long getLastModified()
public long getTimestamp()
public int getLastReleasedMessageSequenceNumber()