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>
构造器和说明 |
---|
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) |
限定符和类型 | 方法和说明 |
---|---|
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, respondToRequest
closeAsync, closeHandlerAsync, respondAsLeader
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
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)
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
在类中 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.RestHandlerException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.