public final class DistributionQueueMBeanImpl extends Object implements DistributionQueueMBean
DistributionQueueMBean| Constructor and Description |
|---|
DistributionQueueMBeanImpl(DistributionQueue distributionQueue) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeadDequeuingAttempts()
Get the first item (in a FIFO strategy, the next to be processed) dequeuing attempts from the queue.
|
Calendar |
getHeadEnqueuingDate()
Get the first item (in a FIFO strategy, the next to be processed) date time when joined the queue.
|
String |
getHeadId()
Get the first item ID (in a FIFO strategy, the next to be processed) from the queue.
|
String |
getHeadStatus()
Get the first item (in a FIFO strategy, the next to be processed) state.
|
String |
getName()
Get this queue name
|
int |
getSize()
Get the current size of the queue.
|
String |
getState()
Get the state associated with the status of this queue
|
String |
getType()
Get the type of this queue.
|
boolean |
isEmpty()
Check if the queue is empty
|
public DistributionQueueMBeanImpl(DistributionQueue distributionQueue)
public String getName()
DistributionQueueMBeangetName in interface DistributionQueueMBeanpublic String getType()
DistributionQueueMBeangetType in interface DistributionQueueMBeanpublic int getSize()
DistributionQueueMBeangetSize in interface DistributionQueueMBeanpublic boolean isEmpty()
DistributionQueueMBeanisEmpty in interface DistributionQueueMBeantrue if the queue is empty, false otherwisepublic String getState()
DistributionQueueMBeangetState in interface DistributionQueueMBeanpublic String getHeadId()
DistributionQueueMBeangetHeadId in interface DistributionQueueMBeannull if the queue is emptypublic int getHeadDequeuingAttempts()
DistributionQueueMBeangetHeadDequeuingAttempts in interface DistributionQueueMBean-1 if the queue is emptypublic String getHeadStatus()
DistributionQueueMBeangetHeadStatus in interface DistributionQueueMBeannull if the queue is emptypublic Calendar getHeadEnqueuingDate()
DistributionQueueMBeangetHeadEnqueuingDate in interface DistributionQueueMBeannull if the queue is emptyCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.