|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualMachine
A virtual machine is a JVM that runs grid components.
Field Summary |
---|
Fields inherited from interface org.openspaces.admin.StatisticsMonitor |
---|
DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL |
Method Summary | |
---|---|
void |
addLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
Adds an SpaceInstanceLifecycleEventListener allowing to be notified when a space
instance was added or removed from this virtual machine. |
void |
addProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
Adds an ProcessingUnitInstanceLifecycleEventListener allowing to be notified when a processing unit
instance was added or removed from this virtual machine. |
VirtualMachineDetails |
getDetails()
Returns the details (non changeable information) of the virtual machine. |
GridServiceAgent |
getGridServiceAgent()
Returns the grid service agent started within this virtual machine. |
GridServiceContainer |
getGridServiceContainer()
Returns the grid service container started within this virtual machine. |
GridServiceManager |
getGridServiceManager()
Returns the grid service manager started within this virtual machine. |
ProcessingUnitInstanceAddedEventManager |
getProcessingUnitInstanceAdded()
Returns an event manager allowing to register ProcessingUnitInstanceAddedEventListener s
for processing unit instances added on this virtual machine. |
ProcessingUnitInstanceRemovedEventManager |
getProcessingUnitInstanceRemoved()
Returns an event manager allowing to register ProcessingUnitRemovedEventListener s
for processing unit instances removed on this virtual machine. |
ProcessingUnitInstance[] |
getProcessingUnitInstances()
Returns the processing unit instances started within this virtual machine. |
SpaceInstanceAddedEventManager |
getSpaceInstanceAdded()
Returns an event manager allowing to register for SpaceInstanceAddedEventListener s
for space instances added on this virtual machine. |
SpaceInstanceRemovedEventManager |
getSpaceInstanceRemoved()
Returns an event manager allowing to register for SpaceInstanceRemovedEventListener s
for space instances added on this virtual machine. |
SpaceInstance[] |
getSpaceInstances()
Returns the space instances started within this virtual machine. |
VirtualMachineStatistics |
getStatistics()
Returns the statistics of the virtual machine. |
String |
getUid()
Returns the uid of the virtual machine. |
VirtualMachineStatisticsChangedEventManager |
getVirtualMachineStatisticsChanged()
Returns an event manager allowing to register for VirtualMachineStatisticsChangedEvent s. |
void |
removeLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
Removes an SpaceInstanceLifecycleEventListener allowing to be notified when a space
instance was added or removed from this virtual machine. |
void |
removeProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
Removes an ProcessingUnitInstanceLifecycleEventListener allowing to be notified when a processing unit
instance was added or removed from this virtual machine. |
void |
runGc()
Runs GC on the virtual machine. |
Methods inherited from interface org.openspaces.admin.machine.MachineAware |
---|
getMachine |
Methods inherited from interface org.openspaces.admin.zone.ZoneAware |
---|
getZones |
Methods inherited from interface org.openspaces.admin.StatisticsMonitor |
---|
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMontior |
Method Detail |
---|
String getUid()
VirtualMachineDetails getDetails()
VirtualMachineStatistics getStatistics()
void runGc()
GridServiceAgent getGridServiceAgent()
null
if no grid service agent was started within it.
GridServiceManager getGridServiceManager()
null
if no grid service manager was started within it.
GridServiceContainer getGridServiceContainer()
null
if no grid service manager was started within it.
ProcessingUnitInstance[] getProcessingUnitInstances()
SpaceInstance[] getSpaceInstances()
ProcessingUnitInstanceAddedEventManager getProcessingUnitInstanceAdded()
ProcessingUnitInstanceAddedEventListener
s
for processing unit instances added on this virtual machine.
ProcessingUnitInstanceRemovedEventManager getProcessingUnitInstanceRemoved()
ProcessingUnitRemovedEventListener
s
for processing unit instances removed on this virtual machine.
void addProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
ProcessingUnitInstanceLifecycleEventListener
allowing to be notified when a processing unit
instance was added or removed from this virtual machine.
void removeProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
ProcessingUnitInstanceLifecycleEventListener
allowing to be notified when a processing unit
instance was added or removed from this virtual machine.
SpaceInstanceAddedEventManager getSpaceInstanceAdded()
SpaceInstanceAddedEventListener
s
for space instances added on this virtual machine.
SpaceInstanceRemovedEventManager getSpaceInstanceRemoved()
SpaceInstanceRemovedEventListener
s
for space instances added on this virtual machine.
void addLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
SpaceInstanceLifecycleEventListener
allowing to be notified when a space
instance was added or removed from this virtual machine.
void removeLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
SpaceInstanceLifecycleEventListener
allowing to be notified when a space
instance was added or removed from this virtual machine.
VirtualMachineStatisticsChangedEventManager getVirtualMachineStatisticsChanged()
VirtualMachineStatisticsChangedEvent
s.
Note, the events will be raised only when the StatisticsMonitor.startStatisticsMonitor()
is called.
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |