Enum WebMonitorExtension.EmptyWebMonitorExtension
java.lang.Object
java.lang.Enum<WebMonitorExtension.EmptyWebMonitorExtension>
org.apache.flink.runtime.webmonitor.WebMonitorExtension.EmptyWebMonitorExtension
- All Implemented Interfaces:
Serializable,AutoCloseable,Comparable<WebMonitorExtension.EmptyWebMonitorExtension>,WebMonitorExtension,org.apache.flink.util.AutoCloseableAsync
- Enclosing interface:
- WebMonitorExtension
public static enum WebMonitorExtension.EmptyWebMonitorExtension
extends Enum<WebMonitorExtension.EmptyWebMonitorExtension>
implements WebMonitorExtension
Empty web monitor extension which can be used as a null object.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.webmonitor.WebMonitorExtension
WebMonitorExtension.EmptyWebMonitorExtension -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionCollection<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.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.flink.util.AutoCloseableAsync
close
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getHandlers
public Collection<org.apache.flink.api.java.tuple.Tuple2<RestHandlerSpecification,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler>> getHandlers()Description copied from interface:WebMonitorExtensionGets the collection of extension handlers to register at theWebMonitorEndpoint.- Specified by:
getHandlersin interfaceWebMonitorExtension- Returns:
- Collection of handlers to register at the
WebMonitorEndpoint.
-
closeAsync
- Specified by:
closeAsyncin interfaceorg.apache.flink.util.AutoCloseableAsync
-