Package fr.dyade.aaa.common.monitoring
Interface MonitoringTimerTaskMBean
-
- All Known Implementing Classes:
FileMonitoringTimerTask,LogMonitoringTimerTask,MonitoringTimerTask,WindowMonitoringTimerTask
public interface MonitoringTimerTaskMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMonitoredAttributes(String MBeanName, String attributes)Add the specified attributes to the list of monitored attributes.voidcancelTask()Cancels this timer task.voiddelMonitoredAttributes(String MBeanName)Removes all the attributes of the specified MBean in the list of monitored attributes.String[]getMonitoredAttributes()Returns the comma separated list of all monitored attributes.longgetPeriod()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
String[] getMonitoredAttributes()
Returns the comma separated list of all monitored attributes.- Returns:
- the comma separated list of all monitored attributes.
-
addMonitoredAttributes
void addMonitoredAttributes(String MBeanName, 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(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.
-
-