All Methods Instance Methods Concrete Methods 
| Modifier and Type | 
Method and Description | 
void | 
addFutureAgents(MachinesSlaEnforcementState.StateKey key,
               FutureGridServiceAgent[] futureAgents,
               CapacityRequirements capacityRequirements)  | 
void | 
addFutureStoppedMachine(MachinesSlaEnforcementState.StateKey key,
                       FutureStoppedMachine futureStoppedMachine)  | 
void | 
afterUndeployProcessingUnit(ProcessingUnit pu)
Removes all state related to the specified processing unit
 Call this method only if you are not going to call any other state method on this pu 
 | 
void | 
allocateCapacity(MachinesSlaEnforcementState.StateKey key,
                String agentUid,
                CapacityRequirements capacity)  | 
void | 
beforeUndeployProcessingUnit(ProcessingUnit pu)  | 
void | 
completedStateRecovery(MachinesSlaEnforcementState.StateKey key)  | 
void | 
deallocateAgentCapacity(MachinesSlaEnforcementState.StateKey key,
                       String agentUid)  | 
void | 
deallocateCapacity(MachinesSlaEnforcementState.StateKey key,
                  String agentUid,
                  CapacityRequirements capacity)  | 
String | 
disableFailoverDetection(String ipAddress,
                        String agentUid)  | 
String | 
enableFailoverDetection(String ipAddress)  | 
void | 
failedRecoveredStateOnEsmStart(ProcessingUnit otherPu)  | 
void | 
fromMachinesState(MachinesState state)  | 
Object | 
getAgentContext(String agentUid)  | 
RecoveringFailedGridServiceAgent[] | 
getAgentsMarkedAsFailed(MachinesSlaEnforcementState.StateKey key)  | 
RecoveringFailedGridServiceAgent[] | 
getAgentsMarkedAsFailedNotBeingRecovered(MachinesSlaEnforcementState.StateKey key)  | 
String | 
getAgentWithDisabledFailoverDetectionForIpAddress(String ipAddress)  | 
Collection<org.openspaces.grid.gsm.machines.GridServiceAgentFutures> | 
getAllDoneFutureAgents(MachinesSlaEnforcementState.StateKey key)  | 
CapacityRequirementsPerAgent | 
getAllocatedCapacity(MachinesSlaEnforcementState.StateKey key)  | 
CapacityRequirementsPerAgent | 
getAllocatedCapacity(ProcessingUnit otherPu)  | 
CapacityRequirementsPerAgent | 
getAllocatedCapacityOfOtherKeysFromSamePu(MachinesSlaEnforcementState.StateKey key)  | 
Collection<String> | 
getAllUsedAgentUids()
Lists all grid service agents from all processing units including those that are marked for deallocation. 
 | 
CapacityRequirementsPerAgent | 
getAllUsedCapacity()
Lists all capacity from all processing units including those that are marked for deallocation. 
 | 
CapacityRequirementsPerAgent | 
getCapacityMarkedForDeallocation(MachinesSlaEnforcementState.StateKey key)  | 
FutureCleanupCloudResources | 
getCleanupFuture(ProcessingUnit pu)  | 
Collection<org.openspaces.grid.gsm.machines.GridServiceAgentFutures> | 
getFutureAgents(MachinesSlaEnforcementState.StateKey key)  | 
Set<ZonesConfig> | 
getGridServiceAgentsZones(ProcessingUnit pu)  | 
ElasticProcessingUnitMachineIsolation | 
getMachineIsolation(MachinesSlaEnforcementState.StateKey key)  | 
Collection<FutureStoppedMachine> | 
getMachinesGoingDown()  | 
Collection<FutureStoppedMachine> | 
getMachinesGoingDown(MachinesSlaEnforcementState.StateKey key)  | 
int | 
getNumberOfFutureAgents(MachinesSlaEnforcementState.StateKey key)  | 
MachinesSlaEnforcementState.RecoveryState | 
getRecoveredStateOnEsmStart(ProcessingUnit pu)  | 
Map<String,List<String>> | 
getRestrictedAgentUids(MachinesSlaEnforcementState.StateKey key)  | 
Map<MachinesSlaEnforcementState.StateKey,org.openspaces.grid.gsm.machines.MachinesSlaEnforcementState.StateValue> | 
getStateForProcessingUnit(ProcessingUnit pu)  | 
Set<ZonesConfig> | 
getUndeployedGridServiceAgentsZones(ProcessingUnit pu)  | 
Collection<String> | 
getUsedAgentUids(MachinesSlaEnforcementState.StateKey key)  | 
long | 
getVersion()  | 
Map<GridServiceAgent,Map<ProcessingUnit,CapacityRequirements>> | 
groupCapacityPerProcessingUnitPerAgent(MachinesSlaEnforcementState.StateKey key)  | 
boolean | 
isAgentFailoverDisabled(String agentUid)  | 
boolean | 
isAgentSharedWithOtherProcessingUnits(ProcessingUnit pu,
                                     String agentUid)  | 
boolean | 
isCompletedStateRecovery(MachinesSlaEnforcementState.StateKey key)  | 
boolean | 
isFutureAgentsOfOtherSharedServices(MachinesSlaEnforcementState.StateKey key)  | 
boolean | 
isHoldingStateForProcessingUnit(ProcessingUnit pu)  | 
void | 
markAgentAsFailed(MachinesSlaEnforcementState.StateKey key,
                 String agentUid)  | 
void | 
markAgentRestrictedForPu(MachinesSlaEnforcementState.StateKey key,
                        String agentUid)  | 
void | 
markCapacityForDeallocation(MachinesSlaEnforcementState.StateKey key,
                           String agentUid,
                           CapacityRequirements capacity)  | 
void | 
recoveredStateOnEsmStart(ProcessingUnit otherPu)  | 
void | 
removeFutureStoppedMachine(MachinesSlaEnforcementState.StateKey key,
                          FutureStoppedMachine futureStoppedMachine)  | 
void | 
removeSuccesfullyStartedFutureAgents(MachinesSlaEnforcementState.StateKey key,
                                    org.openspaces.grid.gsm.machines.GridServiceAgentFutures doneFutureAgents)  | 
boolean | 
replaceAllocatedCapacity(MachinesSlaEnforcementState.StateKey key,
                        Admin admin)
Changes the key.zone of the allocated capacity to match the exact zone of the agent 
 | 
void | 
replaceAllocation(String otherAgentUid,
                 String newAgentUid)  | 
void | 
setCleanupFuture(ProcessingUnit pu,
                FutureCleanupCloudResources future)  | 
void | 
setMachineIsolation(MachinesSlaEnforcementState.StateKey key,
                   ElasticProcessingUnitMachineIsolation isolation)  | 
MachinesState | 
toMachinesState()  | 
void | 
unmarkAgentAsFailed(MachinesSlaEnforcementState.StateKey key,
                   String agentUid)  | 
void | 
unmarkCapacityForDeallocation(MachinesSlaEnforcementState.StateKey key,
                             String agentUid,
                             CapacityRequirements capacity)  | 
void | 
validateUndeployNotInProgress(ProcessingUnit pu)  |