|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.activemq.service.boundedvm.DurableMessagePointer
DurableMessagePointers are moved around in the DurableQueueBoundedMessageManager so that we remember the associated messageStore that the message has been persisted to.
Constructor Summary | |
DurableMessagePointer(MessageStore messageStore,
ActiveMQDestination destination,
ActiveMQMessage message)
|
Method Summary | |
int |
decrementMemoryReferenceCount()
Decrement reference count for bounded memory collections |
Object |
getMemoryId()
Get an id that can be used to identify the object. |
int |
getMemoryUsage()
Get a hint about how much memory this Packet is consuming |
int |
getMemoryUsageReferenceCount()
|
ActiveMQMessage |
getMessage()
|
MessageStore |
getMessageStore()
|
int |
getPriority()
|
int |
incrementDeliveryCount()
|
int |
incrementMemoryReferenceCount()
Increment reference count for bounded memory collections |
int |
incrementRedeliveryCount()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DurableMessagePointer(MessageStore messageStore, ActiveMQDestination destination, ActiveMQMessage message)
Method Detail |
public ActiveMQMessage getMessage()
public Object getMemoryId()
MemoryManageable
getMemoryId
in interface MemoryManageable
public int getMemoryUsage()
MemoryManageable
getMemoryUsage
in interface MemoryManageable
public int incrementMemoryReferenceCount()
MemoryManageable
incrementMemoryReferenceCount
in interface MemoryManageable
MemoryBoundedQueue
public int decrementMemoryReferenceCount()
MemoryManageable
decrementMemoryReferenceCount
in interface MemoryManageable
MemoryBoundedQueue
public int getMemoryUsageReferenceCount()
getMemoryUsageReferenceCount
in interface MemoryManageable
MemoryBoundedQueue
public int incrementDeliveryCount() throws JMSException
JMSException
public int incrementRedeliveryCount() throws JMSException
JMSException
public MessageStore getMessageStore()
public String toString()
public int getPriority()
getPriority
in interface MemoryManageable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |