GigaSpaces XAP 8.0 API

org.openspaces.grid.gsm.sla
Interface ServiceLevelAgreementEnforcement<ENDPOINT extends ServiceLevelAgreementEnforcementEndpoint>

All Known Implementing Classes:
ContainersSlaEnforcement, MachinesSlaEnforcement, RebalancingSlaEnforcement

public interface ServiceLevelAgreementEnforcement<ENDPOINT extends ServiceLevelAgreementEnforcementEndpoint>


Method Summary
 ENDPOINT createEndpoint(ProcessingUnit pu)
          Creates a new endpoint for the specified pu, if one does not already exist.
 void destroyEndpoint(ProcessingUnit pu)
          Destroys the endpoint for the specified pu.
 

Method Detail

createEndpoint

ENDPOINT createEndpoint(ProcessingUnit pu)
                                                                         throws ServiceLevelAgreementEnforcementEndpointAlreadyExistsException
Creates a new endpoint for the specified pu, if one does not already exist. If an endpoint already exists an exception is raised.

Parameters:
pu - target processing unit for the endpoint creation
Returns:
the new endpoint
Throws:
ServiceLevelAgreementEnforcementEndpointAlreadyExistsException

destroyEndpoint

void destroyEndpoint(ProcessingUnit pu)
Destroys the endpoint for the specified pu.

Parameters:
pu - target processing unit for the endpoint destruction

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.