public class AutoScalingSlaEnforcement extends Object implements ServiceLevelAgreementEnforcement<AutoScalingSlaEnforcementEndpoint>
Constructor and Description |
---|
AutoScalingSlaEnforcement(Admin admin) |
Modifier and Type | Method and Description |
---|---|
AutoScalingSlaEnforcementEndpoint |
createEndpoint(ProcessingUnit pu)
Creates a new endpoint for the specified pu, if one does not already exist.
|
void |
destroy() |
void |
destroyEndpoint(ProcessingUnit pu)
Destroys the endpoint for the specified pu.
|
public AutoScalingSlaEnforcement(Admin admin)
public AutoScalingSlaEnforcementEndpoint createEndpoint(ProcessingUnit pu) throws ServiceLevelAgreementEnforcementEndpointAlreadyExistsException
ServiceLevelAgreementEnforcement
createEndpoint
in interface ServiceLevelAgreementEnforcement<AutoScalingSlaEnforcementEndpoint>
pu
- target processing unit for the endpoint creationServiceLevelAgreementEnforcementEndpointAlreadyExistsException
public void destroyEndpoint(ProcessingUnit pu)
ServiceLevelAgreementEnforcement
destroyEndpoint
in interface ServiceLevelAgreementEnforcement<AutoScalingSlaEnforcementEndpoint>
pu
- target processing unit for the endpoint destructionCopyright © GigaSpaces.