R - the response typeM - the message parameter typepublic abstract class AbstractAccessExecutionGraphHandler<R extends ResponseBody,M extends JobMessageParameters> extends AbstractExecutionGraphHandler<R,M>
AbstractAccessExecutionGraphHandler handles requests that require accessing the job's
AccessExecutionGraph.log, MAPPERleaderRetriever, logger, responseHeaders, timeout| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAccessExecutionGraphHandler(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) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract R |
handleRequest(HandlerRequest<EmptyRequestBody> request,
AccessExecutionGraph executionGraph) |
protected R |
handleRequest(HandlerRequest<EmptyRequestBody> request,
ExecutionGraphInfo executionGraphInfo)
Called for each request after the corresponding
ExecutionGraphInfo has been retrieved
from the ExecutionGraphCache. |
handleRequestgetMessageHeaders, respondToRequestcloseAsync, closeHandlerAsync, respondAsLeaderchannelRead0acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected AbstractAccessExecutionGraphHandler(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)
protected R handleRequest(HandlerRequest<EmptyRequestBody> request, ExecutionGraphInfo executionGraphInfo) throws RestHandlerException
AbstractExecutionGraphHandlerExecutionGraphInfo has been retrieved
from the ExecutionGraphCache.handleRequest in class AbstractExecutionGraphHandler<R extends ResponseBody,M extends JobMessageParameters>request - for further informationexecutionGraphInfo - for which the handler was calledRestHandlerException - if the handler could not process the requestprotected abstract R handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph executionGraph) throws RestHandlerException
RestHandlerExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.