Class WebSubmissionExtension
- java.lang.Object
-
- org.apache.flink.runtime.webmonitor.WebSubmissionExtension
-
- All Implemented Interfaces:
AutoCloseable,org.apache.flink.runtime.webmonitor.WebMonitorExtension,org.apache.flink.util.AutoCloseableAsync
public class WebSubmissionExtension extends Object implements org.apache.flink.runtime.webmonitor.WebMonitorExtension
Container for the web submission handlers.
-
-
Constructor Summary
Constructors Constructor Description WebSubmissionExtension(org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.dispatcher.DispatcherGateway> leaderRetriever, Map<String,String> responseHeaders, CompletableFuture<String> localAddressFuture, Path jarDir, Executor executor, Duration timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Void>closeAsync()Collection<org.apache.flink.api.java.tuple.Tuple2<org.apache.flink.runtime.rest.handler.RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>>getHandlers()
-
-
-
Constructor Detail
-
WebSubmissionExtension
public WebSubmissionExtension(org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.dispatcher.DispatcherGateway> leaderRetriever, Map<String,String> responseHeaders, CompletableFuture<String> localAddressFuture, Path jarDir, Executor executor, Duration timeout) throws Exception- Throws:
Exception
-
-
Method Detail
-
closeAsync
public CompletableFuture<Void> closeAsync()
- Specified by:
closeAsyncin interfaceorg.apache.flink.util.AutoCloseableAsync
-
getHandlers
public Collection<org.apache.flink.api.java.tuple.Tuple2<org.apache.flink.runtime.rest.handler.RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> getHandlers()
- Specified by:
getHandlersin interfaceorg.apache.flink.runtime.webmonitor.WebMonitorExtension
-
-