public class CloseOperationHandler extends AbstractOperationHandler
service
log, MAPPER
leaderRetriever, logger, responseHeaders, timeout
Constructor and Description |
---|
CloseOperationHandler(SqlGatewayService service,
Map<String,String> responseHeaders,
MessageHeaders<EmptyRequestBody,OperationStatusResponseBody,OperationMessageParameters> messageHeaders) |
Modifier and Type | Method and Description |
---|---|
void |
execute(SessionHandle sessionHandle,
OperationHandle operationHandle) |
protected String |
getStatus(SessionHandle sessionHandle,
OperationHandle operationHandle) |
handleRequest
respondToRequest
closeAsync, closeHandlerAsync, 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 CloseOperationHandler(SqlGatewayService service, Map<String,String> responseHeaders, MessageHeaders<EmptyRequestBody,OperationStatusResponseBody,OperationMessageParameters> messageHeaders)
public void execute(SessionHandle sessionHandle, OperationHandle operationHandle)
execute
in class AbstractOperationHandler
protected String getStatus(SessionHandle sessionHandle, OperationHandle operationHandle)
getStatus
in class AbstractOperationHandler
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.