public interface WebMonitorExtension extends AutoCloseableAsync
WebMonitorEndpoint
extensions. Extensions can register additional handler
and allow to close their resources in order to integrate into the life cycle of the WebMonitorEndpoint
.Modifier and Type | Interface and Description |
---|---|
static class |
WebMonitorExtension.EmptyWebMonitorExtension
Empty web monitor extension which can be used as a null object.
|
Modifier and Type | Method and Description |
---|---|
static WebMonitorExtension |
empty() |
Collection<Tuple2<RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> |
getHandlers()
Gets the collection of extension handlers to register at the
WebMonitorEndpoint . |
close, closeAsync
Collection<Tuple2<RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> getHandlers()
WebMonitorEndpoint
.WebMonitorEndpoint
.static WebMonitorExtension empty()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.