com.sun.management.oss.impl.job.opstatus
Class OperationalStatusMonitorJob
java.lang.Object
   javax.management.NotificationBroadcasterSupport
javax.management.NotificationBroadcasterSupport
       com.sun.management.oss.impl.job.MonitorJob
com.sun.management.oss.impl.job.MonitorJob
           com.sun.management.oss.impl.job.ByClassesMonitorJob
com.sun.management.oss.impl.job.ByClassesMonitorJob
               com.sun.management.oss.impl.job.opstatus.OperationalStatusMonitorJob
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 factory
- pmValue- the monitor value
- reportInformation- byFile report deleter
- model- model that prodives facilities to retreive data
- server- MBeanServer
- properties- 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:
- handleNotificationin interface- javax.management.NotificationListener
- Overrides:
- handleNotificationin class- ByClassesMonitorJob
 
- 
- Parameters:
- notification- the notification instance
- handback- handback