public interface MachinesSlaEnforcementEndpoint extends ServiceLevelAgreementEnforcementEndpoint
CapacityMachinesSlaPolicyvoid enforceSla(EagerMachinesSlaPolicy sla) throws GridServiceAgentSlaEnforcementInProgressException
void enforceSla(CapacityMachinesSlaPolicy sla) throws MachinesSlaEnforcementInProgressException, GridServiceAgentSlaEnforcementInProgressException
CapacityRequirementsPerAgent getAllocatedCapacityFilterUndiscoveredAgents(AbstractMachinesSlaPolicy sla)
CapacityRequirementsPerAgent getAllocatedCapacity(AbstractMachinesSlaPolicy sla)
void recoverStateOnEsmStart(AbstractMachinesSlaPolicy sla) throws SomeProcessingUnitsHaveNotCompletedStateRecoveryException, NeedToWaitUntilAllGridServiceAgentsDiscoveredException, UndeployInProgressException
void recoveredStateOnEsmStart(ProcessingUnit processingUnit)
MachinesSlaEnforcementState.RecoveryState getRecoveredStateOnEsmStart(ProcessingUnit processingUnit)
Set<ZonesConfig> getGridServiceAgentsZones()
Set<ZonesConfig> getUndeployedGridServiceAgentsZones()
boolean replaceAllocatedCapacity(AbstractMachinesSlaPolicy sla)
void beforeUndeployedProcessingUnit(ProcessingUnit pu)
void afterUndeployedProcessingUnit(ProcessingUnit pu)
void cleanupCloud(ProcessingUnit pu, NonBlockingElasticMachineProvisioning machineProvisioning) throws MachinesSlaEnforcementInProgressException
NonBlockingElasticMachineProvisioning.cleanupCloudResources(long,
java.util.concurrent.TimeUnit)pu - - the processing unit in which the cloud resources needs to be cleaned.MachinesSlaEnforcementInProgressExceptionCopyright © GigaSpaces.