fr.dyade.aaa.common.monitoring
Interface MonitoringTimerTaskMBean

All Known Implementing Classes:
FileMonitoringTimerTask, LogMonitoringTimerTask, MonitoringTimerTask

public interface MonitoringTimerTaskMBean


Method Summary
 void addMonitoredAttributes(java.lang.String MBeanName, java.lang.String attributes)
          Add the specified attributes to the list of monitored attributes.
 void cancelTask()
          Cancels this timer task.
 void delMonitoredAttributes(java.lang.String MBeanName)
          Removes all the attributes of the specified MBean in the list of monitored attributes.
 java.lang.String[] getMonitoredAttributes()
          Returns the comma separated list of all monitored attributes.
 long getPeriod()
          Returns the period value of this queue, -1 if not set.
 

Method Detail

getPeriod

long getPeriod()
Returns the period value of this queue, -1 if not set.

Returns:
the period value of this queue; -1 if not 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.

cancelTask

void cancelTask()
Cancels this timer task.



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