Joram 5.3.0

org.objectweb.joram.mom.dest
Interface MonitoringTopicImplMBean

All Superinterfaces:
DestinationImplMBean, TopicImplMBean
All Known Implementing Classes:
MonitoringTopicImpl

public interface MonitoringTopicImplMBean
extends TopicImplMBean

JMX interface for the monitoring topic.


Method Summary
 void addMonitoredAttributes(java.lang.String MBeanName, java.lang.String attributes)
          Add the specified attributes to the list of monitored attributes.
 void delMonitoredAttributes(java.lang.String MBeanName)
          Removes all the attributes of the specified MBean in the list of monitored attributes.
 long getExpiration()
          Returns the expiration value for produced messages.
 java.lang.String[] getMonitoredAttributes()
          Returns the comma separated list of all monitored attributes.
 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.
 
Methods inherited from interface org.objectweb.joram.mom.dest.TopicImplMBean
getSubscriberIds
 
Methods inherited from interface org.objectweb.joram.mom.dest.DestinationImplMBean
getCreationDate, getCreationTimeInMillis, getDestinationId, getDMQId, getNbMsgsDeliverSinceCreation, getNbMsgsReceiveSinceCreation, getNbMsgsSentToDMQSinceCreation, getPeriod, getRight, getRights, isFreeReading, isFreeWriting, setFreeReading, setFreeWriting, setPeriod, toString
 

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.

getMonitoredAttributes

java.lang.String[] getMonitoredAttributes()
Returns the comma separated list of all monitored attributes.

Returns:
the comma separated list of all monitored attributes.

addMonitoredAttributes

void addMonitoredAttributes(java.lang.String MBeanName,
                            java.lang.String attributes)
Add the specified attributes to the list of monitored attributes. If the Mbean is already monitored, the specified list of attributes overrides the existing one.

Parameters:
MBeanName - the name of the MBean.
attributes - the comma separated list of attributes to monitor.

delMonitoredAttributes

void delMonitoredAttributes(java.lang.String MBeanName)
Removes all the attributes of the specified MBean in the list of monitored attributes.

Parameters:
MBeanName - the name of the MBean.

Joram 5.3.0

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved