public class SavepointDisposalHandlers.SavepointDisposalStatusHandler extends AbstractAsynchronousOperationHandlers.StatusHandler<RestfulGateway,AsynchronousOperationInfo,SavepointDisposalStatusMessageParameters>
StatusHandler implementation for the savepoint disposal operation.log, MAPPERleaderRetriever, logger, responseHeaders, timeout| 构造器和说明 |
|---|
SavepointDisposalStatusHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
org.apache.flink.api.common.time.Time timeout,
Map<String,String> responseHeaders) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected AsynchronousOperationInfo |
exceptionalOperationResultResponse(Throwable throwable)
Create an exceptional operation result from the given
Throwable. |
protected OperationKey |
getOperationKey(HandlerRequest<EmptyRequestBody> request)
Extract the operation key under which the operation result future is stored.
|
protected AsynchronousOperationInfo |
operationResultResponse(Acknowledge operationResult)
Create the operation result from the given value.
|
closeHandlerAsync, handleRequestgetMessageHeaders, respondToRequestcloseAsync, respondAsLeaderchannelRead0acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic SavepointDisposalStatusHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever, org.apache.flink.api.common.time.Time timeout, Map<String,String> responseHeaders)
protected OperationKey getOperationKey(HandlerRequest<EmptyRequestBody> request)
getOperationKey 在类中 AbstractAsynchronousOperationHandlers.StatusHandler<RestfulGateway,AsynchronousOperationInfo,SavepointDisposalStatusMessageParameters>request - with which the status handler has been calledprotected AsynchronousOperationInfo exceptionalOperationResultResponse(Throwable throwable)
Throwable. This method is
called if the asynchronous operation failed.exceptionalOperationResultResponse 在类中 AbstractAsynchronousOperationHandlers.StatusHandler<RestfulGateway,AsynchronousOperationInfo,SavepointDisposalStatusMessageParameters>throwable - failure of the asynchronous operationprotected AsynchronousOperationInfo operationResultResponse(Acknowledge operationResult)
operationResultResponse 在类中 AbstractAsynchronousOperationHandlers.StatusHandler<RestfulGateway,AsynchronousOperationInfo,SavepointDisposalStatusMessageParameters>operationResult - of the asynchronous operationCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.