org.openspaces.grid.gsm.autoscaling
Class AutoScalingSlaEnforcement
java.lang.Object
  
org.openspaces.grid.gsm.autoscaling.AutoScalingSlaEnforcement
- All Implemented Interfaces: 
 - ServiceLevelAgreementEnforcement<AutoScalingSlaEnforcementEndpoint>
 
public class AutoScalingSlaEnforcement
- extends Object
- implements ServiceLevelAgreementEnforcement<AutoScalingSlaEnforcementEndpoint>
  
Enforces the AutoScalingSlaPolicy of all processing units by starting an enforcement endpoint for each PU.
- Author:
 
  - itaif
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AutoScalingSlaEnforcement
public AutoScalingSlaEnforcement(Admin admin)
createEndpoint
public AutoScalingSlaEnforcementEndpoint createEndpoint(ProcessingUnit pu)
                                                 throws ServiceLevelAgreementEnforcementEndpointAlreadyExistsException
- Description copied from interface: 
ServiceLevelAgreementEnforcement 
- Creates a new endpoint for the specified pu, if one does not already exist.
 If an endpoint already exists an exception is raised.
- Specified by:
 createEndpoint in interface ServiceLevelAgreementEnforcement<AutoScalingSlaEnforcementEndpoint>
 
- Parameters:
 pu - target processing unit for the endpoint creation
- Returns:
 - the new endpoint
 - Throws:
 ServiceLevelAgreementEnforcementEndpointAlreadyExistsException
 
 
destroyEndpoint
public void destroyEndpoint(ProcessingUnit pu)
- Description copied from interface: 
ServiceLevelAgreementEnforcement 
- Destroys the endpoint for the specified pu.
- Specified by:
 destroyEndpoint in interface ServiceLevelAgreementEnforcement<AutoScalingSlaEnforcementEndpoint>
 
- Parameters:
 pu - target processing unit for the endpoint destruction
 
 
destroy
public void destroy()
             throws Exception
 
- Throws:
 Exception
 
Copyright © GigaSpaces.