Interface CoordinationRequestGateway
-
- All Known Implementing Classes:
MiniClusterJobClient
public interface CoordinationRequestGatewayClient interface which sends out aCoordinationRequestand expects for aCoordinationResponsefrom aOperatorCoordinator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<CoordinationResponse>sendCoordinationRequest(OperatorID operatorId, CoordinationRequest request)Send out a request to a specified coordinator and return the response.
-
-
-
Method Detail
-
sendCoordinationRequest
CompletableFuture<CoordinationResponse> sendCoordinationRequest(OperatorID operatorId, CoordinationRequest request)
Send out a request to a specified coordinator and return the response.- Parameters:
operatorId- specifies which coordinator to receive the requestrequest- the request to send- Returns:
- the response from the coordinator
-
-