Enum NoOpExecutionPlanStoreWatcher
- java.lang.Object
-
- java.lang.Enum<NoOpExecutionPlanStoreWatcher>
-
- org.apache.flink.runtime.jobmanager.NoOpExecutionPlanStoreWatcher
-
- All Implemented Interfaces:
Serializable,Comparable<NoOpExecutionPlanStoreWatcher>,ExecutionPlanStoreWatcher
public enum NoOpExecutionPlanStoreWatcher extends Enum<NoOpExecutionPlanStoreWatcher> implements ExecutionPlanStoreWatcher
SingletonExecutionPlanStoreWatcherempty implementation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(ExecutionPlanStore.ExecutionPlanListener executionPlanListener)Start the watcher onExecutionPlanStore.voidstop()Stop the watcher onExecutionPlanStore.static NoOpExecutionPlanStoreWatchervalueOf(String name)Returns the enum constant of this type with the specified name.static NoOpExecutionPlanStoreWatcher[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final NoOpExecutionPlanStoreWatcher INSTANCE
-
-
Method Detail
-
values
public static NoOpExecutionPlanStoreWatcher[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NoOpExecutionPlanStoreWatcher c : NoOpExecutionPlanStoreWatcher.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NoOpExecutionPlanStoreWatcher valueOf(String name)
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
-
start
public void start(ExecutionPlanStore.ExecutionPlanListener executionPlanListener)
Description copied from interface:ExecutionPlanStoreWatcherStart the watcher onExecutionPlanStore.- Specified by:
startin interfaceExecutionPlanStoreWatcher- Parameters:
executionPlanListener- use executionPlanListener to notify theDefaultExecutionPlanStore
-
stop
public void stop()
Description copied from interface:ExecutionPlanStoreWatcherStop the watcher onExecutionPlanStore.- Specified by:
stopin interfaceExecutionPlanStoreWatcher
-
-