public class ClusterDataSetDeleteHandlers.ClusterDataSetDeleteStatusHandler extends AbstractAsynchronousOperationHandlers.StatusHandler<RestfulGateway,AsynchronousOperationInfo,ClusterDataSetDeleteStatusMessageParameters>
StatusHandler
implementation for the cluster data set delete operation.log, MAPPER
leaderRetriever, logger, responseHeaders, timeout
Constructor and Description |
---|
ClusterDataSetDeleteStatusHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
Time timeout,
Map<String,String> responseHeaders) |
Modifier and Type | Method and Description |
---|---|
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(ClusterDataSetDeleteHandlers.SerializableVoid ignored)
Create the operation result from the given value.
|
closeHandlerAsync, handleRequest
getMessageHeaders, respondToRequest
closeAsync, respondAsLeader
channelRead0, getTimeout
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public ClusterDataSetDeleteStatusHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever, Time timeout, Map<String,String> responseHeaders)
protected OperationKey getOperationKey(HandlerRequest<EmptyRequestBody> request)
AbstractAsynchronousOperationHandlers.StatusHandler
getOperationKey
in class AbstractAsynchronousOperationHandlers.StatusHandler<RestfulGateway,AsynchronousOperationInfo,ClusterDataSetDeleteStatusMessageParameters>
request
- with which the status handler has been calledprotected AsynchronousOperationInfo exceptionalOperationResultResponse(Throwable throwable)
AbstractAsynchronousOperationHandlers.StatusHandler
Throwable
. This method is
called if the asynchronous operation failed.exceptionalOperationResultResponse
in class AbstractAsynchronousOperationHandlers.StatusHandler<RestfulGateway,AsynchronousOperationInfo,ClusterDataSetDeleteStatusMessageParameters>
throwable
- failure of the asynchronous operationprotected AsynchronousOperationInfo operationResultResponse(ClusterDataSetDeleteHandlers.SerializableVoid ignored)
AbstractAsynchronousOperationHandlers.StatusHandler
operationResultResponse
in class AbstractAsynchronousOperationHandlers.StatusHandler<RestfulGateway,AsynchronousOperationInfo,ClusterDataSetDeleteStatusMessageParameters>
ignored
- of the asynchronous operationCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.