|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueueImplMBean
Method Summary | |
---|---|
void |
cleanPendingMessage()
Removes all messages that the time-to-live is expired. |
void |
cleanWaitingRequest()
Removes all request that the expiration time is expired. |
int |
getDeliveredMessageCount()
Returns the number of messages delivered and waiting for acknowledge. |
javax.management.openmbean.CompositeData |
getMessage(java.lang.String msgId)
Returns the description of a particular pending message. |
javax.management.openmbean.TabularData |
getMessages()
Returns the description of all pending messages. |
java.util.List |
getMessagesView()
Returns the description of all pending messages. |
int |
getNbMaxMsg()
Returns the maximum number of message for the destination. |
int |
getPendingMessageCount()
Returns the number of pending messages in the queue. |
int |
getThreshold()
Returns the threshold value of this queue, -1 if not set. |
int |
getWaitingRequestCount()
Returns the number of waiting requests in the queue. |
void |
setNbMaxMsg(int nbMaxMsg)
Sets the maximum number of message for the destination. |
void |
setThreshold(int threshold)
Sets or unsets the threshold for this queue. |
Methods inherited from interface org.objectweb.joram.mom.dest.DestinationImplMBean |
---|
delete, getCreationDate, getCreationTimeInMillis, getDestinationId, getDMQId, getName, getNbMsgsDeliverSinceCreation, getNbMsgsReceiveSinceCreation, getNbMsgsSentToDMQSinceCreation, getPeriod, getRight, getRights, isFreeReading, isFreeWriting, setFreeReading, setFreeWriting, setPeriod, toString |
Method Detail |
---|
int getThreshold()
void setThreshold(int threshold)
threshold
- The threshold value to be set or -1 for unsetting
previous value.int getWaitingRequestCount()
void cleanWaitingRequest()
int getPendingMessageCount()
void cleanPendingMessage()
int getDeliveredMessageCount()
int getNbMaxMsg()
void setNbMaxMsg(int nbMaxMsg)
nbMaxMsg
- the maximum number of message (-1 set no limit).javax.management.openmbean.CompositeData getMessage(java.lang.String msgId) throws java.lang.Exception
msgId
- The unique message's identifier.
java.lang.Exception
MessageJMXWrapper
javax.management.openmbean.TabularData getMessages() throws java.lang.Exception
java.lang.Exception
MessageJMXWrapper
java.util.List getMessagesView()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |