public class JarPlanHandler extends org.apache.flink.runtime.rest.handler.AbstractRestHandler<org.apache.flink.runtime.webmonitor.RestfulGateway,JarPlanRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,org.apache.flink.runtime.webmonitor.handlers.JarPlanMessageParameters>
| Constructor and Description |
|---|
JarPlanHandler(org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.webmonitor.RestfulGateway> leaderRetriever,
org.apache.flink.api.common.time.Time timeout,
Map<String,String> responseHeaders,
org.apache.flink.runtime.rest.messages.MessageHeaders<JarPlanRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,org.apache.flink.runtime.webmonitor.handlers.JarPlanMessageParameters> messageHeaders,
Path jarDir,
org.apache.flink.configuration.Configuration configuration,
Executor executor) |
JarPlanHandler(org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.webmonitor.RestfulGateway> leaderRetriever,
org.apache.flink.api.common.time.Time timeout,
Map<String,String> responseHeaders,
org.apache.flink.runtime.rest.messages.MessageHeaders<JarPlanRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,org.apache.flink.runtime.webmonitor.handlers.JarPlanMessageParameters> messageHeaders,
Path jarDir,
org.apache.flink.configuration.Configuration configuration,
Executor executor,
java.util.function.Function<org.apache.flink.runtime.jobgraph.JobGraph,org.apache.flink.runtime.rest.messages.JobPlanInfo> planGenerator) |
| Modifier and Type | Method and Description |
|---|---|
protected CompletableFuture<org.apache.flink.runtime.rest.messages.JobPlanInfo> |
handleRequest(org.apache.flink.runtime.rest.handler.HandlerRequest<JarPlanRequestBody,org.apache.flink.runtime.webmonitor.handlers.JarPlanMessageParameters> request,
org.apache.flink.runtime.webmonitor.RestfulGateway gateway) |
getMessageHeaders, respondToRequestcloseAsync, closeHandlerAsync, respondAsLeaderchannelRead0acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic JarPlanHandler(org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.webmonitor.RestfulGateway> leaderRetriever,
org.apache.flink.api.common.time.Time timeout,
Map<String,String> responseHeaders,
org.apache.flink.runtime.rest.messages.MessageHeaders<JarPlanRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,org.apache.flink.runtime.webmonitor.handlers.JarPlanMessageParameters> messageHeaders,
Path jarDir,
org.apache.flink.configuration.Configuration configuration,
Executor executor)
public JarPlanHandler(org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.webmonitor.RestfulGateway> leaderRetriever,
org.apache.flink.api.common.time.Time timeout,
Map<String,String> responseHeaders,
org.apache.flink.runtime.rest.messages.MessageHeaders<JarPlanRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,org.apache.flink.runtime.webmonitor.handlers.JarPlanMessageParameters> messageHeaders,
Path jarDir,
org.apache.flink.configuration.Configuration configuration,
Executor executor,
java.util.function.Function<org.apache.flink.runtime.jobgraph.JobGraph,org.apache.flink.runtime.rest.messages.JobPlanInfo> planGenerator)
protected CompletableFuture<org.apache.flink.runtime.rest.messages.JobPlanInfo> handleRequest(@Nonnull org.apache.flink.runtime.rest.handler.HandlerRequest<JarPlanRequestBody,org.apache.flink.runtime.webmonitor.handlers.JarPlanMessageParameters> request, @Nonnull org.apache.flink.runtime.webmonitor.RestfulGateway gateway) throws org.apache.flink.runtime.rest.handler.RestHandlerException
handleRequest in class org.apache.flink.runtime.rest.handler.AbstractRestHandler<org.apache.flink.runtime.webmonitor.RestfulGateway,JarPlanRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,org.apache.flink.runtime.webmonitor.handlers.JarPlanMessageParameters>org.apache.flink.runtime.rest.handler.RestHandlerExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.