public class DefaultZone extends Object implements InternalZone
| Constructor and Description |
|---|
DefaultZone(InternalAdmin admin,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
Allows to add a
SpaceInstanceLifecycleEventListener. |
void |
addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance) |
void |
addProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
Allows to add a
ProcessingUnitInstanceLifecycleEventListener. |
void |
addSpaceInstance(SpaceInstance spaceInstance) |
boolean |
equals(Object o) |
DumpResult |
generateDump(String cause,
Map<String,Object> context)
Generates dump for all the provided dump processors.
|
DumpResult |
generateDump(String cause,
Map<String,Object> context,
String... processor)
Generates dump for the provided processors.
|
ElasticServiceManagers |
getElasticServiceManagers()
Returns the elastic service managers running within the zone.
|
GridServiceAgents |
getGridServiceAgents()
Returns the grid service agents running within the zone.
|
GridServiceContainers |
getGridServiceContainers()
Returns the grid service containers running within the zone.
|
GridServiceManagers |
getGridServiceManagers()
Returns the grid service managers running within the zone.
|
LookupServices |
getLookupServices()
Returns the lookup services that are running within the zone.
|
Machines |
getMachines()
Returns the machines running within the zone.
|
String |
getName()
Returns name of the zone.
|
ProcessingUnitInstanceAddedEventManager |
getProcessingUnitInstanceAdded()
Returns the processing unit instance added event manager allowing to add and remove
ProcessingUnitInstanceAddedEventListeners. |
ProcessingUnitInstanceRemovedEventManager |
getProcessingUnitInstanceRemoved()
Returns the processing unit instance removed event manager allowing to add and remove
ProcessingUnitInstanceRemovedEventListeners. |
ProcessingUnitInstance[] |
getProcessingUnitInstances()
Returns all the processing unit instances running within the zone.
|
SpaceInstanceAddedEventManager |
getSpaceInstanceAdded()
Returns the space instance added event manager allowing to add and remove
SpaceInstanceAddedEventListeners. |
SpaceInstanceRemovedEventManager |
getSpaceInstanceRemoved()
Returns the space instance removed event manager allowing to add and remove
SpaceInstanceRemovedEventListeners. |
SpaceInstance[] |
getSpaceInstances()
Returns all the space instances running within the zone.
|
Transports |
getTransports()
Returns the transports "running" within the zone.
|
VirtualMachines |
getVirtualMachines()
Returns the virtual machines running within the zone.
|
boolean |
hasGridComponents()
Returns
true if there are grid components. |
int |
hashCode() |
void |
removeLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
Allows to remove a
SpaceInstanceLifecycleEventListener. |
void |
removeProcessingUnitInstance(String uid) |
void |
removeProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
Allows to remove a
ProcessingUnitInstanceLifecycleEventListener. |
void |
removeSpaceInstance(String uid) |
public DefaultZone(InternalAdmin admin, String name)
public Machines getMachines()
ZonegetMachines in interface Zonepublic GridServiceAgents getGridServiceAgents()
ZonegetGridServiceAgents in interface Zonepublic LookupServices getLookupServices()
ZonegetLookupServices in interface Zonepublic GridServiceManagers getGridServiceManagers()
ZonegetGridServiceManagers in interface Zonepublic ElasticServiceManagers getElasticServiceManagers()
ZonegetElasticServiceManagers in interface Zonepublic GridServiceContainers getGridServiceContainers()
ZonegetGridServiceContainers in interface Zonepublic boolean hasGridComponents()
Zonetrue if there are grid components.hasGridComponents in interface Zonepublic Transports getTransports()
ZonegetTransports in interface Zonepublic VirtualMachines getVirtualMachines()
ZonegetVirtualMachines in interface Zonepublic ProcessingUnitInstanceAddedEventManager getProcessingUnitInstanceAdded()
ZoneProcessingUnitInstanceAddedEventListeners.getProcessingUnitInstanceAdded in interface Zonepublic ProcessingUnitInstanceRemovedEventManager getProcessingUnitInstanceRemoved()
ZoneProcessingUnitInstanceRemovedEventListeners.getProcessingUnitInstanceRemoved in interface Zonepublic void addProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
ZoneProcessingUnitInstanceLifecycleEventListener.addProcessingUnitInstanceLifecycleEventListener in interface Zonepublic void removeProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
ZoneProcessingUnitInstanceLifecycleEventListener.removeProcessingUnitInstanceLifecycleEventListener in interface Zonepublic ProcessingUnitInstance[] getProcessingUnitInstances()
ZonegetProcessingUnitInstances in interface Zonepublic SpaceInstance[] getSpaceInstances()
ZonegetSpaceInstances in interface Zonepublic SpaceInstanceAddedEventManager getSpaceInstanceAdded()
ZoneSpaceInstanceAddedEventListeners.getSpaceInstanceAdded in interface Zonepublic SpaceInstanceRemovedEventManager getSpaceInstanceRemoved()
ZoneSpaceInstanceRemovedEventListeners.getSpaceInstanceRemoved in interface Zonepublic void addLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
ZoneSpaceInstanceLifecycleEventListener.addLifecycleListener in interface Zonepublic void removeLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
ZoneSpaceInstanceLifecycleEventListener.removeLifecycleListener in interface Zonepublic void addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance)
addProcessingUnitInstance in interface InternalZonepublic void removeProcessingUnitInstance(String uid)
removeProcessingUnitInstance in interface InternalZonepublic void addSpaceInstance(SpaceInstance spaceInstance)
addSpaceInstance in interface InternalZonepublic void removeSpaceInstance(String uid)
removeSpaceInstance in interface InternalZonepublic DumpResult generateDump(String cause, Map<String,Object> context) throws AdminException
DumpProvidergenerateDump in interface DumpProvidercause - The cause that this dump was generatedcontext - Allows to provide specific parameters to specific processorsAdminExceptionpublic DumpResult generateDump(String cause, Map<String,Object> context, String... processor) throws AdminException
DumpProvidergenerateDump in interface DumpProvidercause - The cause this dump was generated.context - Allows to provide specific parameters to specific processors.processor - The list of processors to be used.AdminExceptionCopyright © GigaSpaces.