com.sun.management.oss.impl.job.opstatus
Class OperationalStatusMonitorJob
java.lang.Object
javax.management.NotificationBroadcasterSupport
com.sun.management.oss.impl.job.MonitorJob
com.sun.management.oss.impl.job.ByClassesMonitorJob
com.sun.management.oss.impl.job.opstatus.OperationalStatusMonitorJob
- All Implemented Interfaces:
- java.util.EventListener, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, javax.management.NotificationListener, java.lang.Runnable
- public class OperationalStatusMonitorJob
- extends ByClassesMonitorJob
Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationalStatusMonitorJob
public OperationalStatusMonitorJob(JmxJVTOperationalStatusMonitorSession factory,
OperationalStatusMonitorValue pmValue,
ReportInformation reportInformation,
OperationalStatusGenericModel model,
javax.management.MBeanServer server,
java.util.Properties properties)
- Parameters:
factory
- the factorypmValue
- the monitor valuereportInformation
- byFile report deletermodel
- model that prodives facilities to retreive dataserver
- MBeanServerproperties
- property file.
getCurrentResultReport
public java.lang.String getCurrentResultReport()
- Forces a report generation (immediate measurement).
- Returns:
- an XML representation of an immediate data collection.
getOperationalStatusMonitorValue
public OperationalStatusMonitorValue getOperationalStatusMonitorValue()
- Returns the OperationalStatusMonitorValue instance of this monitor job.
- Returns:
- the OperationalStatusMonitorValue instance of this monitor job.
handleNotification
public void handleNotification(javax.management.Notification notification,
java.lang.Object handback)
- Handles events from monitored objects that are event providers. A report
is created for the emitter according to the notification type.
- Specified by:
handleNotification
in interface javax.management.NotificationListener
- Overrides:
handleNotification
in class ByClassesMonitorJob
- Parameters:
notification
- the notification instancehandback
- handback