public static enum WebMonitorExtension.EmptyWebMonitorExtension extends Enum<WebMonitorExtension.EmptyWebMonitorExtension> implements WebMonitorExtension
WebMonitorExtension.EmptyWebMonitorExtension
Enum Constant and Description |
---|
INSTANCE |
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 . |
static WebMonitorExtension.EmptyWebMonitorExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebMonitorExtension.EmptyWebMonitorExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
empty
close
public static final WebMonitorExtension.EmptyWebMonitorExtension INSTANCE
public static WebMonitorExtension.EmptyWebMonitorExtension[] values()
for (WebMonitorExtension.EmptyWebMonitorExtension c : WebMonitorExtension.EmptyWebMonitorExtension.values()) System.out.println(c);
public static WebMonitorExtension.EmptyWebMonitorExtension valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Collection<Tuple2<RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> getHandlers()
WebMonitorExtension
WebMonitorEndpoint
.getHandlers
in interface WebMonitorExtension
WebMonitorEndpoint
.public CompletableFuture<Void> closeAsync()
AutoCloseableAsync
closeAsync
in interface AutoCloseableAsync
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.