public interface MessageReference
Modifier and Type | Method and Description |
---|---|
void |
acknowledge() |
MessageReference |
copy(Queue queue) |
void |
decrementDeliveryCount() |
Long |
getConsumerId() |
int |
getDeliveryCount() |
ServerMessage |
getMessage() |
int |
getMessageMemoryEstimate()
We define this method aggregation here because on paging we need to hold the original estimate,
so we need to perform some extra steps on paging.
|
int |
getPersistedCount() |
Queue |
getQueue() |
long |
getScheduledDeliveryTime() |
void |
handled() |
void |
incrementDeliveryCount() |
boolean |
isPaged() |
void |
setConsumerId(Long consumerID) |
void |
setDeliveryCount(int deliveryCount) |
void |
setPersistedCount(int deliveryCount) |
void |
setScheduledDeliveryTime(long scheduledDeliveryTime) |
boolean isPaged()
ServerMessage getMessage()
int getMessageMemoryEstimate()
MessageReference copy(Queue queue)
long getScheduledDeliveryTime()
void setScheduledDeliveryTime(long scheduledDeliveryTime)
int getDeliveryCount()
void setDeliveryCount(int deliveryCount)
void setPersistedCount(int deliveryCount)
int getPersistedCount()
void incrementDeliveryCount()
void decrementDeliveryCount()
Queue getQueue()
void setConsumerId(Long consumerID)
Long getConsumerId()
void handled()
Copyright © 2018 JBoss by Red Hat. All rights reserved.