Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MessageReferenceImpl
public MessageReferenceImpl()
MessageReferenceImpl
public MessageReferenceImpl(MessageReferenceImpl other,
Queue queue)
MessageReferenceImpl
protected MessageReferenceImpl(ServerMessage message,
Queue queue)
copy
public MessageReference copy(Queue queue)
- Specified by:
copy
in interface MessageReference
getDeliveryCount
public int getDeliveryCount()
- Specified by:
getDeliveryCount
in interface MessageReference
setDeliveryCount
public void setDeliveryCount(int deliveryCount)
- Specified by:
setDeliveryCount
in interface MessageReference
incrementDeliveryCount
public void incrementDeliveryCount()
- Specified by:
incrementDeliveryCount
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 ServerMessage getMessage()
- Specified by:
getMessage
in interface MessageReference
getQueue
public Queue getQueue()
- Specified by:
getQueue
in interface MessageReference
cancel
public boolean cancel(StorageManager persistenceManager,
PostOffice postOffice,
HierarchicalRepository<QueueSettings> queueSettingsRepository)
throws java.lang.Exception
- Specified by:
cancel
in interface MessageReference
- Throws:
java.lang.Exception
expire
public void expire(StorageManager persistenceManager,
PostOffice postOffice,
HierarchicalRepository<QueueSettings> queueSettingsRepository)
throws java.lang.Exception
- Specified by:
expire
in interface MessageReference
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2006 JBoss Inc. All Rights Reserved.