R - type of the responsepublic abstract class AbstractCheckpointHandler<R extends ResponseBody,M extends CheckpointMessageParameters> extends AbstractExecutionGraphHandler<R,M>
log, MAPPERleaderRetriever, logger, responseHeaders, timeout| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCheckpointHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
org.apache.flink.api.common.time.Time timeout,
Map<String,String> responseHeaders,
MessageHeaders<EmptyRequestBody,R,M> messageHeaders,
ExecutionGraphCache executionGraphCache,
Executor executor,
CheckpointStatsCache checkpointStatsCache) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract R |
handleCheckpointRequest(HandlerRequest<EmptyRequestBody,M> request,
AbstractCheckpointStats checkpointStats)
Called for each request with the corresponding
AbstractCheckpointStats instance. |
protected R |
handleRequest(HandlerRequest<EmptyRequestBody,M> request,
AccessExecutionGraph executionGraph)
Called for each request after the corresponding
AccessExecutionGraph has been retrieved from the
ExecutionGraphCache. |
handleRequestgetMessageHeaders, respondToRequestcloseAsync, closeHandlerAsync, respondAsLeaderchannelRead0acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected AbstractCheckpointHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever, org.apache.flink.api.common.time.Time timeout, Map<String,String> responseHeaders, MessageHeaders<EmptyRequestBody,R,M> messageHeaders, ExecutionGraphCache executionGraphCache, Executor executor, CheckpointStatsCache checkpointStatsCache)
protected R handleRequest(HandlerRequest<EmptyRequestBody,M> request, AccessExecutionGraph executionGraph) throws RestHandlerException
AbstractExecutionGraphHandlerAccessExecutionGraph has been retrieved from the
ExecutionGraphCache.handleRequest in class AbstractExecutionGraphHandler<R extends ResponseBody,M extends CheckpointMessageParameters>request - for further informationexecutionGraph - for which the handler was calledRestHandlerException - if the handler could not process the requestprotected abstract R handleCheckpointRequest(HandlerRequest<EmptyRequestBody,M> request, AbstractCheckpointStats checkpointStats) throws RestHandlerException
AbstractCheckpointStats instance.request - for further informationcheckpointStats - for which the handler is calledRestHandlerException - if the handler could not handle the requestCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.