Interface WebMonitorExtension
- All Superinterfaces:
AutoCloseable,org.apache.flink.util.AutoCloseableAsync
- All Known Implementing Classes:
WebMonitorExtension.EmptyWebMonitorExtension
public interface WebMonitorExtension
extends org.apache.flink.util.AutoCloseableAsync
Interface for
WebMonitorEndpoint extensions. Extensions can register additional handler
and allow to close their resources in order to integrate into the life cycle of the WebMonitorEndpoint.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEmpty web monitor extension which can be used as a null object. -
Method Summary
Modifier and TypeMethodDescriptionstatic WebMonitorExtensionempty()Collection<org.apache.flink.api.java.tuple.Tuple2<RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> Gets the collection of extension handlers to register at theWebMonitorEndpoint.Methods inherited from interface org.apache.flink.util.AutoCloseableAsync
close, closeAsync
-
Method Details
-
getHandlers
Collection<org.apache.flink.api.java.tuple.Tuple2<RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> getHandlers()Gets the collection of extension handlers to register at theWebMonitorEndpoint.- Returns:
- Collection of handlers to register at the
WebMonitorEndpoint.
-
empty
-