Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ms
protected transient MessageStore ms
SimpleMessageReference
public SimpleMessageReference()
- Required by externalization.
SimpleMessageReference
public SimpleMessageReference(SimpleMessageReference other)
SimpleMessageReference
protected SimpleMessageReference(org.jboss.messaging.core.message.MessageHolder holder,
MessageStore ms)
isReference
public boolean isReference()
getDeliveryCount
public int getDeliveryCount()
- Specified by:
getDeliveryCount
in interface MessageReference
- Returns:
- the number of times delivery has been attempted for this routable
setDeliveryCount
public void setDeliveryCount(int deliveryCount)
- Specified by:
setDeliveryCount
in interface MessageReference
getScheduledDeliveryTime
public long getScheduledDeliveryTime()
- Specified by:
getScheduledDeliveryTime
in interface MessageReference
- Returns:
- The time in the future that delivery will be delayed until, or zero if
no scheduled delivery will occur
setScheduledDeliveryTime
public void setScheduledDeliveryTime(long scheduledDeliveryTime)
- Specified by:
setScheduledDeliveryTime
in interface MessageReference
getMessage
public Message getMessage()
- Specified by:
getMessage
in interface MessageReference
releaseMemoryReference
public void releaseMemoryReference()
- Specified by:
releaseMemoryReference
in interface MessageReference
getInMemoryChannelCount
public int getInMemoryChannelCount()
getPagingOrder
public long getPagingOrder()
- Specified by:
getPagingOrder
in interface MessageReference
setPagingOrder
public void setPagingOrder(long order)
- Specified by:
setPagingOrder
in interface MessageReference
copy
public MessageReference copy()
- Specified by:
copy
in interface MessageReference
toString
public java.lang.String toString()
Copyright © 2006 JBoss Inc. All Rights Reserved.