GigaSpaces XAP 9.0 API

org.openspaces.grid.gsm.machines
Interface MachinesSlaEnforcementEndpoint

All Superinterfaces:
ServiceLevelAgreementEnforcementEndpoint

public interface MachinesSlaEnforcementEndpoint
extends ServiceLevelAgreementEnforcementEndpoint

A service that on demand enforces the specified number of machines.

Author:
itaif
See Also:
CapacityMachinesSlaPolicy

Method Summary
 void enforceSla(CapacityMachinesSlaPolicy sla)
           
 void enforceSla(EagerMachinesSlaPolicy sla)
           
 ClusterCapacityRequirements getAllocatedCapacity()
           
 

Method Detail

enforceSla

void enforceSla(EagerMachinesSlaPolicy sla)
                throws GridServiceAgentSlaEnforcementInProgressException
Throws:
GridServiceAgentSlaEnforcementInProgressException

enforceSla

void enforceSla(CapacityMachinesSlaPolicy sla)
                throws MachinesSlaEnforcementInProgressException,
                       GridServiceAgentSlaEnforcementInProgressException
Throws:
MachinesSlaEnforcementInProgressException
GridServiceAgentSlaEnforcementInProgressException

getAllocatedCapacity

ClusterCapacityRequirements getAllocatedCapacity()
Returns:
a list of agents for this pu including memory/cpu for each.

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.