Interface PagedReference
-
- All Superinterfaces:
MessageReference
- All Known Implementing Classes:
PagedReferenceImpl
public interface PagedReference extends MessageReference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.activemq.artemis.core.server.MessageReference
MessageReference.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPendingFlag()this method affects paging clean up It adds to the flag that prevents its page from cleanup.PagedMessagegetPagedMessage()PagePositiongetPosition()longgetTransactionID()booleanisLargeMessage()voidremovePendingFlag()this method affects paging clean up It adds to the flag that prevents its page from cleanup.-
Methods inherited from interface org.apache.activemq.artemis.core.server.MessageReference
acknowledge, acknowledge, acknowledge, acknowledge, copy, decrementDeliveryCount, emptyConsumerID, getConsumerId, getDeliveryCount, getLastValueProperty, getMessage, getMessageID, getMessageMemoryEstimate, getPersistedCount, getPersistentSize, getProtocolData, getQueue, getScheduledDeliveryTime, handled, hasConsumerId, incrementDeliveryCount, isAlreadyAcked, isDurable, isInDelivery, isPaged, onDelivery, setAlreadyAcked, setConsumerId, setDeliveryCount, setInDelivery, setPersistedCount, setProtocolData, setScheduledDeliveryTime, skipDelivery
-
-
-
-
Method Detail
-
getPosition
PagePosition getPosition()
-
getPagedMessage
PagedMessage getPagedMessage()
-
isLargeMessage
boolean isLargeMessage()
-
getTransactionID
long getTransactionID()
-
addPendingFlag
void addPendingFlag()
this method affects paging clean up It adds to the flag that prevents its page from cleanup. It's a helper method to call the properPageSubscription.addPendingDelivery(PagePosition)
-
removePendingFlag
void removePendingFlag()
this method affects paging clean up It adds to the flag that prevents its page from cleanup. It's a helper method to call the properPageSubscription.addPendingDelivery(PagePosition)
-
-