public class

MonitorStatusChangeEvent

extends VmEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ sun.jvmstat.monitor.event.VmEvent
       ↳ sun.jvmstat.monitor.event.MonitorStatusChangeEvent

Class Overview

Provides a description of a change in status of the instrumentation exported by the MonitoredVm.

Summary

Fields
protected List inserted List of instrumentation objects inserted since the last event.
protected List removed List of instrumentation objects removed since the last event.
[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
MonitorStatusChangeEvent(MonitoredVm vm, List inserted, List removed)
Construct a new MonitorStatusChangeEvent.
Public Methods
List getInserted()
Return the list of instrumentation objects that were inserted since the last event notification.
List getRemoved()
Return the set of instrumentation objects that were removed since the last event notification.
[Expand]
Inherited Methods
From class sun.jvmstat.monitor.event.VmEvent
From class java.util.EventObject
From class java.lang.Object

Fields

protected List inserted

List of instrumentation objects inserted since the last event. Elements of this list will always be of type Monitor.

protected List removed

List of instrumentation objects removed since the last event. Elements of this list will always be of type Monitor.

Public Constructors

public MonitorStatusChangeEvent (MonitoredVm vm, List inserted, List removed)

Construct a new MonitorStatusChangeEvent.

Parameters
vm the MonitoredVm source of the event.
inserted the list of instrumentation objects inserted since the last event.
removed the list of instrumentation objects removed since the last event.

Public Methods

public List getInserted ()

Return the list of instrumentation objects that were inserted since the last event notification.

Returns
  • List - a List of Monitor objects that were inserted into the instrumentation exported by the MonitoredHost. If no new instrumentation was inserted, an emply List is returned.

public List getRemoved ()

Return the set of instrumentation objects that were removed since the last event notification.

Returns
  • List - a List of Monitor objects that were removed from the instrumentation exported by the MonitoredHost. If no instrumentation was removed, an emply List is returned.