Jvmstat

sun.jvmstat.monitor.event
Class VmEvent

java.lang.Object
  extended by java.util.EventObject
      extended by sun.jvmstat.monitor.event.VmEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MonitorStatusChangeEvent

public class VmEvent
extends EventObject

Base class for events emitted by a MonitoredVm.

Since:
1.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
VmEvent(MonitoredVm vm)
          Construct a new VmEvent instance.
 
Method Summary
 MonitoredVm getMonitoredVm()
          Return the MonitoredVm source of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VmEvent

public VmEvent(MonitoredVm vm)
Construct a new VmEvent instance.

Parameters:
vm - the MonitoredVm source of the event.
Method Detail

getMonitoredVm

public MonitoredVm getMonitoredVm()
Return the MonitoredVm source of this event.

Returns:
MonitoredVm - the source of this event.

Jvmstat