GigaSpaces XAP 10.0.1 API

Uses of Interface
org.openspaces.admin.gsc.GridServiceContainer

Packages that use GridServiceContainer
org.openspaces.admin.gsa Support for managing of Grid Service Agent(s) through the Admin API. 
org.openspaces.admin.gsc Support for managing of Grid Service Container(s) through the Admin API. 
org.openspaces.admin.gsc.events Support for managing of Grid Service Container events through the Admin API. 
org.openspaces.admin.pu Support for managing of Processing Unit(s) through the Admin API. 
org.openspaces.admin.pu.events Support for managing of Processing Unit events through the Admin API. 
org.openspaces.admin.samples   
org.openspaces.admin.vm Support for managing of Virtual Machine(s) through the Admin API. 
org.openspaces.grid.gsm.containers   
org.openspaces.grid.gsm.containers.exceptions   
org.openspaces.grid.gsm.machines.exceptions   
org.openspaces.grid.gsm.rebalancing   
org.openspaces.grid.gsm.rebalancing.exceptions   
 

Uses of GridServiceContainer in org.openspaces.admin.gsa
 

Methods in org.openspaces.admin.gsa that return GridServiceContainer
 GridServiceContainer GridServiceAgent.startGridServiceAndWait(GridServiceContainerOptions options)
          Starts a GridServiceContainer based on the provided options and waits indefinitely until it is discovered by the admin, which is then returned.
 GridServiceContainer GridServiceAgent.startGridServiceAndWait(GridServiceContainerOptions options, long timeout, TimeUnit timeUnit)
          Starts a GridServiceContainer based on the provided options and waits for the given timeout (in time unit) until it is discovered by the admin, which is then returned.
 

Uses of GridServiceContainer in org.openspaces.admin.gsc
 

Methods in org.openspaces.admin.gsc that return GridServiceContainer
 GridServiceContainer GridServiceContainers.getContainerByUID(String uid)
          Returns a container based on its uid.
 GridServiceContainer[] GridServiceContainers.getContainers()
          Returns all the currently discovered containers.
 

Methods in org.openspaces.admin.gsc that return types with arguments of type GridServiceContainer
 Map<String,GridServiceContainer> GridServiceContainers.getUids()
          Returns a map of grid service container with the key as the uid.
 

Uses of GridServiceContainer in org.openspaces.admin.gsc.events
 

Methods in org.openspaces.admin.gsc.events with parameters of type GridServiceContainer
 void GridServiceContainerAddedEventListener.gridServiceContainerAdded(GridServiceContainer gridServiceContainer)
          Called when a grid service container is added.
 void GridServiceContainerRemovedEventListener.gridServiceContainerRemoved(GridServiceContainer gridServiceContainer)
          Called when a grid service container is removed.
 

Uses of GridServiceContainer in org.openspaces.admin.pu
 

Methods in org.openspaces.admin.pu that return GridServiceContainer
 GridServiceContainer ProcessingUnitInstance.getGridServiceContainer()
          Returns the GridServiceContainer the processing unit is running on.
 

Methods in org.openspaces.admin.pu with parameters of type GridServiceContainer
 void ProcessingUnitInstance.relocate(GridServiceContainer gridServiceContainerToRelocateTo)
          Relocates the instance to the provided GridServiceContainer.
 ProcessingUnitInstance ProcessingUnitInstance.relocateAndWait(GridServiceContainer gridServiceContainerToRelocateTo)
          Relocates the instance to the provided GridServiceContainer.
 ProcessingUnitInstance ProcessingUnitInstance.relocateAndWait(GridServiceContainer gridServiceContainerToRelocateTo, long timeout, TimeUnit timeUnit)
          Relocates the instance to the provided GridServiceContainer.
 

Uses of GridServiceContainer in org.openspaces.admin.pu.events
 

Methods in org.openspaces.admin.pu.events that return GridServiceContainer
 GridServiceContainer ProcessingUnitInstanceProvisionFailure.getGridServiceContainer()
           
 GridServiceContainer ProcessingUnitInstanceProvisionStatusChangedEvent.getGridServiceContainer()
          For ProvisionStatus.ATTEMPT - returns the GridServiceContainer a processing unit instance is instantiating on.
 

Constructors in org.openspaces.admin.pu.events with parameters of type GridServiceContainer
ProcessingUnitInstanceProvisionStatusChangedEvent(ProcessingUnit processingUnit, String processingUnitInstanceName, ProvisionStatus previousStatus, ProvisionStatus newStatus, GridServiceContainer gridServiceContainer, ProcessingUnitInstance processingUnitInstance)
           
 

Uses of GridServiceContainer in org.openspaces.admin.samples
 

Methods in org.openspaces.admin.samples with parameters of type GridServiceContainer
 void TestEventSampler.gridServiceContainerAdded(GridServiceContainer gridServiceContainer)
           
 void TestEventSampler.gridServiceContainerRemoved(GridServiceContainer gridServiceContainer)
           
 

Uses of GridServiceContainer in org.openspaces.admin.vm
 

Methods in org.openspaces.admin.vm that return GridServiceContainer
 GridServiceContainer VirtualMachine.getGridServiceContainer()
          Returns the grid service container started within this virtual machine.
 

Uses of GridServiceContainer in org.openspaces.grid.gsm.containers
 

Methods in org.openspaces.grid.gsm.containers that return GridServiceContainer
 GridServiceContainer[] ContainersSlaEnforcementEndpoint.getContainers()
           
 

Methods in org.openspaces.grid.gsm.containers that return types with arguments of type GridServiceContainer
static Collection<GridServiceContainer> ContainersSlaUtils.getContainersByZone(Admin admin, String zone)
           
static List<GridServiceContainer> ContainersSlaUtils.getContainersByZoneOnAgentUid(Admin admin, String zone, String agentUid)
           
 

Methods in org.openspaces.grid.gsm.containers with parameters of type GridServiceContainer
static long ContainersSlaUtils.getMemoryInMB(GridServiceContainer container)
           
static String ContainersSlaUtils.gscsToString(GridServiceContainer[] containers)
           
static boolean ContainersSlaUtils.isContainerMatchesZone(GridServiceContainer container, String zone)
           
 

Method parameters in org.openspaces.grid.gsm.containers with type arguments of type GridServiceContainer
static String ContainersSlaUtils.gscsToString(Collection<GridServiceContainer> containers)
           
 

Uses of GridServiceContainer in org.openspaces.grid.gsm.containers.exceptions
 

Constructors in org.openspaces.grid.gsm.containers.exceptions with parameters of type GridServiceContainer
ContainerNotDiscoveredException(ProcessingUnit pu, GridServiceContainer container)
           
 

Constructor parameters in org.openspaces.grid.gsm.containers.exceptions with type arguments of type GridServiceContainer
ContainersSlaEnforcementPendingProcessingUnitDeallocationException(ProcessingUnit pu, Collection<GridServiceContainer> containers)
           
 

Uses of GridServiceContainer in org.openspaces.grid.gsm.machines.exceptions
 

Constructors in org.openspaces.grid.gsm.machines.exceptions with parameters of type GridServiceContainer
NeedToWaitUntilAllGridServiceAgentsDiscoveredException(ProcessingUnit pu, GridServiceContainer container)
           
 

Uses of GridServiceContainer in org.openspaces.grid.gsm.rebalancing
 

Methods in org.openspaces.grid.gsm.rebalancing that return GridServiceContainer
 GridServiceContainer[] RebalancingSlaPolicy.getContainers()
           
static GridServiceContainer[] RebalancingUtils.getContainersOnMachines(ProcessingUnit pu)
           
 GridServiceContainer[] FutureStatefulProcessingUnitInstance.getReplicaitonSourceContainers()
           
static GridServiceContainer[] RebalancingUtils.getReplicationSourceContainers(ProcessingUnitInstance instance)
           
 GridServiceContainer FutureStatefulProcessingUnitInstance.getSourceContainer()
           
 GridServiceContainer FutureStatefulProcessingUnitInstance.getTargetContainer()
           
 GridServiceContainer FutureStatelessProcessingUnitInstance.getTargetContainer()
           
 

Methods in org.openspaces.grid.gsm.rebalancing that return types with arguments of type GridServiceContainer
static List<GridServiceContainer> RebalancingUtils.sortAllContainersByNumberOfInstancesAboveMinimum(ProcessingUnit pu, GridServiceContainer[] approvedContainers)
          Sorts all of the admin containers based on (number of instances from the specified pu - min number of instances) If the container is not in the specified approved container list then min=0, meaning it will get a higher weight in the sort.
 

Methods in org.openspaces.grid.gsm.rebalancing with parameters of type GridServiceContainer
static Machine[] RebalancingUtils.getMachinesHostingContainers(GridServiceContainer[] containers)
           
static Set<ProcessingUnitInstance> RebalancingUtils.getOtherInstancesFromSamePartitionInContainer(GridServiceContainer container, ProcessingUnitInstance instance)
           
static int RebalancingUtils.getPlannedMaximumNumberOfInstancesForContainer(GridServiceContainer container, GridServiceContainer[] approvedContainers, ProcessingUnit pu)
           
static int RebalancingUtils.getPlannedMaximumNumberOfInstancesForContainer(GridServiceContainer container, GridServiceContainer[] approvedContainers, ProcessingUnit pu)
           
static int RebalancingUtils.getPlannedMinimumNumberOfInstancesForContainer(GridServiceContainer container, GridServiceContainer[] approvedContainers, ProcessingUnit pu)
           
static int RebalancingUtils.getPlannedMinimumNumberOfInstancesForContainer(GridServiceContainer container, GridServiceContainer[] approvedContainers, ProcessingUnit pu)
           
static boolean RebalancingUtils.isEvenlyDistributedAcrossContainers(ProcessingUnit pu, GridServiceContainer[] containers)
           
static boolean RebalancingUtils.isProcessingUnitIntact(ProcessingUnit pu, GridServiceContainer[] containers)
           
static boolean RebalancingUtils.isProcessingUnitPartitionIntact(ProcessingUnit pu, int instanceId, GridServiceContainer[] containers)
           
 void RebalancingSlaPolicy.setContainers(GridServiceContainer[] containers)
           
static List<GridServiceContainer> RebalancingUtils.sortAllContainersByNumberOfInstancesAboveMinimum(ProcessingUnit pu, GridServiceContainer[] approvedContainers)
          Sorts all of the admin containers based on (number of instances from the specified pu - min number of instances) If the container is not in the specified approved container list then min=0, meaning it will get a higher weight in the sort.
 

Method parameters in org.openspaces.grid.gsm.rebalancing with type arguments of type GridServiceContainer
static String RebalancingUtils.gscsToString(List<GridServiceContainer> containers)
           
 

Uses of GridServiceContainer in org.openspaces.grid.gsm.rebalancing.exceptions
 

Constructors in org.openspaces.grid.gsm.rebalancing.exceptions with parameters of type GridServiceContainer
MaximumNumberOfConcurrentRelocationsReachedException(ProcessingUnit pu, GridServiceContainer container)
           
ProcessingUnitIsNotEvenlyDistributedAcrossContainersException(String context, ProcessingUnit pu, GridServiceContainer[] containers)
           
ProcessingUnitIsNotEvenlyDistributedAcrossContainersException(String context, ProcessingUnit pu, GridServiceContainer[] containers, AdminException e)
           
RemovedContainerProcessingUnitDeploymentException(ProcessingUnit pu, GridServiceContainer expectedContainer)
           
RemovedContainerProcessingUnitDeploymentException(ProcessingUnitInstance instance, GridServiceContainer expectedContainer)
           
WrongContainerProcessingUnitRelocationException(ProcessingUnitInstance instance, GridServiceContainer expectedContainer)
           
 


GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.