public class WebSubmissionExtension extends Object implements WebMonitorExtension
WebMonitorExtension.EmptyWebMonitorExtension
Constructor and Description |
---|
WebSubmissionExtension(Configuration configuration,
GatewayRetriever<? extends DispatcherGateway> leaderRetriever,
Map<String,String> responseHeaders,
CompletableFuture<String> localAddressFuture,
Path jarDir,
Executor executor,
Time timeout) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync()
Trigger the closing of the resource and return the corresponding close future.
|
Collection<Tuple2<RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> |
getHandlers()
Gets the collection of extension handlers to register at the
WebMonitorEndpoint . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty
close
public WebSubmissionExtension(Configuration configuration, GatewayRetriever<? extends DispatcherGateway> leaderRetriever, Map<String,String> responseHeaders, CompletableFuture<String> localAddressFuture, Path jarDir, Executor executor, Time timeout) throws Exception
Exception
public CompletableFuture<Void> closeAsync()
AutoCloseableAsync
closeAsync
in interface AutoCloseableAsync
public Collection<Tuple2<RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> getHandlers()
WebMonitorExtension
WebMonitorEndpoint
.getHandlers
in interface WebMonitorExtension
WebMonitorEndpoint
.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.