Package org.objectweb.joram.mom.dest
Interface AcquisitionMBean
-
- All Known Subinterfaces:
AcquisitionQueueMBean,AcquisitionTopicMBean
- All Known Implementing Classes:
AcquisitionQueue,AcquisitionTopic
public interface AcquisitionMBeanJMX interface for the acquisition monitoring.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAcquisitionClassName()Returns the acquisition handler class name.longgetAcquisitionPeriod()Returns the acquisition period.longgetExpiration()Returns the expiration value for produced messages.intgetPriority()Returns the priority of produced messages.booleanisMessagePersistent()Returns true if the messages produced are persistent.voidsetExpiration(long expiration)Sets the expiration value for produced messages.voidsetMessagePersistent(boolean isPersistent)Sets the DeliveryMode value for the produced messages.voidsetPriority(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
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.
-
-