|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageReference
Keeps track of a message that is flowing through the Broker. This object may hold a hard reference to the message or only hold the id of the message if the message has been persisted on in a MessageStore.
Method Summary | |
---|---|
int |
decrementReferenceCount()
|
long |
getExpiration()
|
java.lang.String |
getGroupID()
|
int |
getGroupSequence()
|
Message |
getMessage()
|
Message |
getMessageHardRef()
|
MessageId |
getMessageId()
|
int |
getRedeliveryCounter()
|
int |
getReferenceCount()
|
Destination |
getRegionDestination()
|
int |
getSize()
|
ConsumerId |
getTargetConsumerId()
|
void |
incrementRedeliveryCounter()
|
int |
incrementReferenceCount()
|
boolean |
isAdvisory()
|
boolean |
isDropped()
Returns true if this message is dropped. |
boolean |
isExpired()
Returns true if this message is expired |
boolean |
isPersistent()
|
Method Detail |
---|
MessageId getMessageId()
Message getMessageHardRef()
Message getMessage()
boolean isPersistent()
Destination getRegionDestination()
int getRedeliveryCounter()
void incrementRedeliveryCounter()
int getReferenceCount()
int incrementReferenceCount()
int decrementReferenceCount()
ConsumerId getTargetConsumerId()
int getSize()
long getExpiration()
java.lang.String getGroupID()
int getGroupSequence()
boolean isExpired()
boolean isDropped()
boolean isAdvisory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |