org.openspaces.admin.vm.events
Class VirtualMachineStatisticsChangedEvent
java.lang.Object
org.openspaces.admin.vm.events.VirtualMachineStatisticsChangedEvent
public class VirtualMachineStatisticsChangedEvent
- extends Object
An event indicating that a virtual machine level statistics has changed.
Note, monitoring needs to be enabled in order to receive the events.
- Author:
- kimchy
- See Also:
VirtualMachineStatisticsChangedEventListener
,
VirtualMachineStatisticsChangedEventManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualMachineStatisticsChangedEvent
public VirtualMachineStatisticsChangedEvent(VirtualMachine virtualMachine,
VirtualMachineStatistics statistics)
getVirtualMachine
public VirtualMachine getVirtualMachine()
- Returns the virtual machine associated with this event.
getStatistics
public VirtualMachineStatistics getStatistics()
- Returns the statistics of the virtual machine sampled.
Copyright © GigaSpaces.