sun.jvmstat.monitor.event
Class HostEvent
java.lang.Object
java.util.EventObject
sun.jvmstat.monitor.event.HostEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- VmStatusChangeEvent
public class HostEvent
- extends EventObject
Base class for events emitted by a MonitoredHost
.
- Since:
- 1.5
- See Also:
- Serialized Form
HostEvent
public HostEvent(MonitoredHost host)
- Construct a new HostEvent instance.
- Parameters:
host
- the MonitoredHost source of the event.
getMonitoredHost
public MonitoredHost getMonitoredHost()
- Return the MonitoredHost source of this event.
- Returns:
- MonitoredHost - the source of this event.