Interface ClusterManagementOperation<V extends OperationResult>

Type Parameters:
V - the result type of the operation
All Superinterfaces:
JsonSerializable, Serializable
All Known Implementing Classes:
RebalanceOperation, RestoreRedundancyRequest

@Experimental public interface ClusterManagementOperation<V extends OperationResult> extends JsonSerializable, Serializable
Interface for cluster management operations that can be used with ClusterManagementService.start(ClusterManagementOperation) Classes implementing this interface should hold only the parameters for the operation. Implementations must be registered in the locator using OperationManager.registerOperation.
  • Method Summary

    Modifier and Type
    Method
    Description
    must match the REST controller's RequestMapping
     
  • Method Details

    • getEndpoint

      String getEndpoint()
      must match the REST controller's RequestMapping
      Returns:
      the portion after /management/v1, e.g. /operations/name
    • getOperator

      String getOperator()