public class SavepointHandlers.SavepointTriggerHandler extends AbstractRestHandler<RestfulGateway,B,TriggerResponse,SavepointTriggerMessageParameters>
log, MAPPER
leaderRetriever, logger, responseHeaders, timeout
Constructor and Description |
---|
SavepointTriggerHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
Time timeout,
Map<String,String> responseHeaders) |
Modifier and Type | Method and Description |
---|---|
protected Optional<TriggerId> |
extractTriggerId(SavepointTriggerRequestBody request) |
protected CompletableFuture<Acknowledge> |
triggerOperation(HandlerRequest<SavepointTriggerRequestBody> request,
AsynchronousJobOperationKey operationKey,
RestfulGateway gateway) |
getMessageHeaders, 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 SavepointTriggerHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever, Time timeout, Map<String,String> responseHeaders)
protected Optional<TriggerId> extractTriggerId(SavepointTriggerRequestBody request)
protected CompletableFuture<Acknowledge> triggerOperation(HandlerRequest<SavepointTriggerRequestBody> request, AsynchronousJobOperationKey operationKey, RestfulGateway gateway) throws RestHandlerException
RestHandlerException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.