org.objectweb.joram.mom.dest.QueueImplMBean Interface Reference

Inherits org.objectweb.joram.mom.dest.DestinationImplMBean.

Inherited by com.scalagent.joram.mom.dest.mail.JavaMailQueueImplMBean, and org.objectweb.joram.mom.dest.QueueImpl.

Inheritance diagram for org.objectweb.joram.mom.dest.QueueImplMBean:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.mom.dest.QueueImplMBean:

Collaboration graph
[legend]
List of all members.

Public Member Functions

long getPeriod ()
void setPeriod (long period)
int getThreshold ()
void setThreshold (int threshold)
int getWaitingRequestCount ()
int getPendingMessageCount ()
int getDeliveredMessageCount ()
int getNbMaxMsg ()
void setNbMaxMsg (int nbMaxMsg)

Detailed Description

Definition at line 25 of file QueueImplMBean.java.


Member Function Documentation

long org.objectweb.joram.mom.dest.QueueImplMBean.getPeriod (  ) 

Returns the period value of this queue, -1 if not set.

Returns:
the period value of this queue; -1 if not set.

Implemented in org.objectweb.joram.mom.dest.QueueImpl.

void org.objectweb.joram.mom.dest.QueueImplMBean.setPeriod ( long  period  ) 

Sets or unsets the period for this queue.

Parameters:
period The period value to be set or -1 for unsetting previous value.

Implemented in org.objectweb.joram.mom.dest.QueueImpl.

int org.objectweb.joram.mom.dest.QueueImplMBean.getThreshold (  ) 

Returns the threshold value of this queue, -1 if not set.

Returns:
the threshold value of this queue; -1 if not set.

Implemented in org.objectweb.joram.mom.dest.QueueImpl.

void org.objectweb.joram.mom.dest.QueueImplMBean.setThreshold ( int  threshold  ) 

Sets or unsets the threshold for this queue.

Parameters:
threshold The threshold value to be set or -1 for unsetting previous value.

Implemented in org.objectweb.joram.mom.dest.QueueImpl.

int org.objectweb.joram.mom.dest.QueueImplMBean.getWaitingRequestCount (  ) 

Returns the number of waiting requests in the queue.

Returns:
The number of waiting requests.

Implemented in org.objectweb.joram.mom.dest.QueueImpl.

int org.objectweb.joram.mom.dest.QueueImplMBean.getPendingMessageCount (  ) 

Returns the number of pending messages in the queue.

Returns:
The number of pending messages.

Implemented in org.objectweb.joram.mom.dest.QueueImpl.

int org.objectweb.joram.mom.dest.QueueImplMBean.getDeliveredMessageCount (  ) 

Returns the number of messages delivered and waiting for acknowledge.

Returns:
The number of messages delivered.

Implemented in org.objectweb.joram.mom.dest.QueueImpl.

int org.objectweb.joram.mom.dest.QueueImplMBean.getNbMaxMsg (  ) 

Returns the maximum number of message for the destination. If the limit is unset the method returns -1.

Returns:
the maximum number of message for subscription if set; -1 otherwise.

Implemented in org.objectweb.joram.mom.dest.QueueImpl.

void org.objectweb.joram.mom.dest.QueueImplMBean.setNbMaxMsg ( int  nbMaxMsg  ) 

Sets the maximum number of message for the destination.

Parameters:
nbMaxMsg the maximum number of message (-1 set no limit).

Implemented in org.objectweb.joram.mom.dest.QueueImpl.


The documentation for this interface was generated from the following file:
Generated on Tue Sep 16 16:19:42 2008 for joram by  doxygen 1.5.0