public class DefaultZone extends Object implements InternalZone
Constructor and Description |
---|
DefaultZone(InternalAdmin admin,
String name) |
public DefaultZone(InternalAdmin admin, String name)
public Machines getMachines()
Zone
getMachines
in interface Zone
public GridServiceAgents getGridServiceAgents()
Zone
getGridServiceAgents
in interface Zone
public LookupServices getLookupServices()
Zone
getLookupServices
in interface Zone
public GridServiceManagers getGridServiceManagers()
Zone
getGridServiceManagers
in interface Zone
public GridServiceContainers getGridServiceContainers()
Zone
getGridServiceContainers
in interface Zone
public boolean hasGridComponents()
Zone
true
if there are grid components.hasGridComponents
in interface Zone
public Transports getTransports()
Zone
getTransports
in interface Zone
public VirtualMachines getVirtualMachines()
Zone
getVirtualMachines
in interface Zone
public ProcessingUnitInstanceAddedEventManager getProcessingUnitInstanceAdded()
Zone
ProcessingUnitInstanceAddedEventListener
s.getProcessingUnitInstanceAdded
in interface Zone
public ProcessingUnitInstanceRemovedEventManager getProcessingUnitInstanceRemoved()
Zone
ProcessingUnitInstanceRemovedEventListener
s.getProcessingUnitInstanceRemoved
in interface Zone
public void addProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
Zone
ProcessingUnitInstanceLifecycleEventListener
.addProcessingUnitInstanceLifecycleEventListener
in interface Zone
public void removeProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
Zone
ProcessingUnitInstanceLifecycleEventListener
.removeProcessingUnitInstanceLifecycleEventListener
in interface Zone
public ProcessingUnitInstance[] getProcessingUnitInstances()
Zone
getProcessingUnitInstances
in interface Zone
public SpaceInstance[] getSpaceInstances()
Zone
getSpaceInstances
in interface Zone
public SpaceInstanceAddedEventManager getSpaceInstanceAdded()
Zone
SpaceInstanceAddedEventListener
s.getSpaceInstanceAdded
in interface Zone
public SpaceInstanceRemovedEventManager getSpaceInstanceRemoved()
Zone
SpaceInstanceRemovedEventListener
s.getSpaceInstanceRemoved
in interface Zone
public void addLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
Zone
SpaceInstanceLifecycleEventListener
.addLifecycleListener
in interface Zone
public void removeLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
Zone
SpaceInstanceLifecycleEventListener
.removeLifecycleListener
in interface Zone
public void addProcessingUnitInstance(ProcessingUnitInstance processingUnitInstance)
addProcessingUnitInstance
in interface InternalZone
public void removeProcessingUnitInstance(String uid)
removeProcessingUnitInstance
in interface InternalZone
public void addSpaceInstance(SpaceInstance spaceInstance)
addSpaceInstance
in interface InternalZone
public void removeSpaceInstance(String uid)
removeSpaceInstance
in interface InternalZone
public DumpResult generateDump(String cause, Map<String,Object> context) throws AdminException
DumpProvider
generateDump
in interface DumpProvider
cause
- The cause that this dump was generatedcontext
- Allows to provide specific parameters to specific processorsAdminException
public DumpResult generateDump(String cause, Map<String,Object> context, String... processor) throws AdminException
DumpProvider
generateDump
in interface DumpProvider
cause
- The cause this dump was generated.context
- Allows to provide specific parameters to specific processors.processor
- The list of processors to be used.AdminException
Copyright © GigaSpaces.