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 forWebMonitorEndpoint
extensions. Extensions can register additional handler and allow to close their resources in order to integrate into the life cycle of theWebMonitorEndpoint
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
WebMonitorExtension.EmptyWebMonitorExtension
Empty web monitor extension which can be used as a null object.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static WebMonitorExtension
empty()
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
.
-
-
-
Method Detail
-
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
static WebMonitorExtension empty()
-
-