package org.openspaces.grid.gsm.sla;

import org.openspaces.admin.pu.ProcessingUnit;

public interface ServiceLevelAgreementEnforcement
    <POLICY extends ServiceLevelAgreementPolicy,
     ENDPOINT extends ServiceLevelAgreementEnforcementEndpoint<POLICY>> {

    /**
     * Creates a new endpoint for the specified id, if one does not already exist.
     * If an endpoint already exists an exception is raised. 
     * @param id
     * @return the new endpoint
     * @throws ServiceLevelAgreementEnforcementEndpointAlreadyExistsException
     */
    ENDPOINT createEndpoint(ProcessingUnit pu) throws ServiceLevelAgreementEnforcementEndpointAlreadyExistsException;
    
    /**
     * Destroys the endpoint with the specified id. 
     * @param id
     */
    void destroyEndpoint(ProcessingUnit pu);
}

@@ -318,18 +318,18 @@
 ecified 
-id
+pu
 , if one
@@ -423,34 +423,83 @@
 %0D%0A     * @param 
-id
+pu target processing unit for the endpoint creation
 %0D%0A     * @return
@@ -772,12 +772,11 @@
 int 
-with
+for
  the
@@ -786,18 +786,18 @@
 ecified 
-id
+pu
 . %0D%0A    
@@ -806,18 +806,71 @@
  @param 
-id
+pu target processing unit for the endpoint destruction 
 %0D%0A     *

Fix JDoc