|
|||||||||||
| 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 |
java.lang.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 |
java.lang.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 java.lang.Object getMemoryId()
MemoryManageable
getMemoryId in interface MemoryManageablepublic int getMemoryUsage()
MemoryManageable
getMemoryUsage in interface MemoryManageablepublic int incrementMemoryReferenceCount()
MemoryManageable
incrementMemoryReferenceCount in interface MemoryManageableMemoryBoundedQueuepublic int decrementMemoryReferenceCount()
MemoryManageable
decrementMemoryReferenceCount in interface MemoryManageableMemoryBoundedQueuepublic int getMemoryUsageReferenceCount()
getMemoryUsageReferenceCount in interface MemoryManageableMemoryBoundedQueue
public int incrementDeliveryCount()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic MessageStore getMessageStore()
public java.lang.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 | ||||||||||