public class ContainersSlaEnforcement extends Object implements ServiceLevelAgreementEnforcement<ContainersSlaEnforcementEndpoint>
ContainersSlaPolicy
Use createEndpoint(ProcessingUnit)
to enforce an SLA for a specific container zone.ContainersSlaEnforcementEndpoint
,
ContainersSlaPolicy
Constructor and Description |
---|
ContainersSlaEnforcement(Admin admin) |
Modifier and Type | Method and Description |
---|---|
ContainersSlaEnforcementEndpoint |
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 ContainersSlaEnforcement(Admin admin)
public ContainersSlaEnforcementEndpoint createEndpoint(ProcessingUnit pu) throws ServiceLevelAgreementEnforcementEndpointAlreadyExistsException
ServiceLevelAgreementEnforcement
createEndpoint
in interface ServiceLevelAgreementEnforcement<ContainersSlaEnforcementEndpoint>
pu
- target processing unit for the endpoint creationServiceLevelAgreementEnforcementEndpointAlreadyExistsException
public void destroyEndpoint(ProcessingUnit pu)
ServiceLevelAgreementEnforcement
destroyEndpoint
in interface ServiceLevelAgreementEnforcement<ContainersSlaEnforcementEndpoint>
pu
- target processing unit for the endpoint destructionpublic void destroy()
Copyright © GigaSpaces.