Jvmstat

sun.jvmstat.monitor.event
Interface VmListener

All Superinterfaces:
EventListener

public interface VmListener
extends EventListener

Interface for listeners of MonitoredVm events.

Since:
1.5
See Also:
MonitoredVm

Method Summary
 void disconnected(VmEvent event)
          Invoked when the connection to the MonitoredVm has disconnected due to communication errors.
 void monitorStatusChanged(MonitorStatusChangeEvent event)
          Invoked when instrumentation objects are inserted into or removed from the MonitoredVm.
 void monitorsUpdated(VmEvent event)
          Invoked when instrumentation objects are updated.
 

Method Detail

monitorStatusChanged

void monitorStatusChanged(MonitorStatusChangeEvent event)
Invoked when instrumentation objects are inserted into or removed from the MonitoredVm.

Parameters:
event - the object describing the event.

monitorsUpdated

void monitorsUpdated(VmEvent event)
Invoked when instrumentation objects are updated. This event is generated at a fixed interval as determined by the polling rate of the MonitoredVm that the VmListener is registered with.

Parameters:
event - the object describing the event.

disconnected

void disconnected(VmEvent event)
Invoked when the connection to the MonitoredVm has disconnected due to communication errors.

Parameters:
event - the object describing the event.

Jvmstat