org.objectweb.joram.mom.dest
Interface AcquisitionMBean

All Known Subinterfaces:
AcquisitionQueueMBean, AcquisitionTopicMBean
All Known Implementing Classes:
AcquisitionQueue, AcquisitionTopic

public interface AcquisitionMBean

JMX interface for the acquisition monitoring.


Method Summary
 java.lang.String getAcquisitionClassName()
          Returns the acquisition handler class name.
 long getAcquisitionPeriod()
          Returns the acquisition period.
 long getExpiration()
          Returns the expiration value for produced messages.
 int getPriority()
          Returns the priority of produced messages.
 boolean isMessagePersistent()
          Returns true if the messages produced are persistent.
 void setExpiration(long expiration)
          Sets the expiration value for produced messages.
 void setMessagePersistent(boolean isPersistent)
          Sets the DeliveryMode value for the produced messages.
 void setPriority(int priority)
          Sets the priority of produced messages.
 

Method Detail

isMessagePersistent

boolean isMessagePersistent()
Returns true if the messages produced are persistent.

Returns:
true if the messages produced are persistent.

setMessagePersistent

void setMessagePersistent(boolean isPersistent)
Sets the DeliveryMode value for the produced messages. If the parameter is true the messages produced are persistent.

Parameters:
isPersistent - if true the messages produced are persistent.

getPriority

int getPriority()
Returns the priority of produced messages.

Returns:
the priority of produced messages.

setPriority

void setPriority(int priority)
Sets the priority of produced messages.

Parameters:
priority - the priority to set.

getExpiration

long getExpiration()
Returns the expiration value for produced messages.

Returns:
the expiration value for produced messages.

setExpiration

void setExpiration(long expiration)
Sets the expiration value for produced messages.

Parameters:
expiration - the expiration to set.

getAcquisitionClassName

java.lang.String getAcquisitionClassName()
Returns the acquisition handler class name.

Returns:
the acquisition handler class name.

getAcquisitionPeriod

long getAcquisitionPeriod()
Returns the acquisition period.

Returns:
the acquisition period.


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.