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
SingletonExecutionPlanStoreWatcher
empty 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 void
start(ExecutionPlanStore.ExecutionPlanListener executionPlanListener)
Start the watcher onExecutionPlanStore
.void
stop()
Stop the watcher onExecutionPlanStore
.static NoOpExecutionPlanStoreWatcher
valueOf(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:ExecutionPlanStoreWatcher
Start the watcher onExecutionPlanStore
.- Specified by:
start
in interfaceExecutionPlanStoreWatcher
- Parameters:
executionPlanListener
- use executionPlanListener to notify theDefaultExecutionPlanStore
-
stop
public void stop()
Description copied from interface:ExecutionPlanStoreWatcher
Stop the watcher onExecutionPlanStore
.- Specified by:
stop
in interfaceExecutionPlanStoreWatcher
-
-