public interface

VmListener

implements EventListener
sun.jvmstat.monitor.event.VmListener

Class Overview

Interface for listeners of MonitoredVm events.

See Also

Summary

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

Public Methods

public abstract void disconnected (VmEvent event)

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

Parameters
event the object describing the event.

public abstract void monitorStatusChanged (MonitorStatusChangeEvent event)

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

Parameters
event the object describing the event.

public abstract 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.