GigaSpaces XAP 7.0 API

org.openspaces.admin.vm.events
Class VirtualMachineStatisticsChangedEvent

java.lang.Object
  extended by 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

Constructor Summary
VirtualMachineStatisticsChangedEvent(VirtualMachine virtualMachine, VirtualMachineStatistics statistics)
           
 
Method Summary
 VirtualMachineStatistics getStatistics()
          Returns the statistics of the virtual machine sampled.
 VirtualMachine getVirtualMachine()
          Returns the virtual machine associated with this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualMachineStatisticsChangedEvent

public VirtualMachineStatisticsChangedEvent(VirtualMachine virtualMachine,
                                            VirtualMachineStatistics statistics)
Method Detail

getVirtualMachine

public VirtualMachine getVirtualMachine()
Returns the virtual machine associated with this event.


getStatistics

public VirtualMachineStatistics getStatistics()
Returns the statistics of the virtual machine sampled.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.