Top Description Methods
sun.jvmstat.monitor.event

public Interface VmListener

extends EventListener
Imports
java.util.EventListener

Interface for listeners of MonitoredVm events.
Author
Brian Doherty
Since
1.5
See Also
sun.jvmstat.monitor.MonitoredVm

Method Summary

Modifier and TypeMethod and Description
public void
disconnected(VmEvent
the object describing the event.
event
)

Invoked when the connection to the MonitoredVm has disconnected due to communication errors.

public void
monitorStatusChanged(MonitorStatusChangeEvent
the object describing the event.
event
)

Invoked when instrumentation objects are inserted into or removed from the MonitoredVm.

public void
monitorsUpdated(VmEvent
the object describing the event.
event
)

Invoked when instrumentation objects are updated.

Method Detail

disconnectedback to summary
public void disconnected(VmEvent event)

Invoked when the connection to the MonitoredVm has disconnected due to communication errors.

Parameters
event:VmEvent

the object describing the event.

monitorStatusChangedback to summary
public void monitorStatusChanged(MonitorStatusChangeEvent event)

Invoked when instrumentation objects are inserted into or removed from the MonitoredVm.

Parameters
event:MonitorStatusChangeEvent

the object describing the event.

monitorsUpdatedback to summary
public 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:VmEvent

the object describing the event.