public enum NoOpJobGraphStoreWatcher extends Enum<NoOpJobGraphStoreWatcher> implements JobGraphStoreWatcher
JobGraphStoreWatcher
empty implementation.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
start(JobGraphStore.JobGraphListener jobGraphListener)
Start the watcher on
JobGraphStore . |
void |
stop()
Stop the watcher on
JobGraphStore . |
static NoOpJobGraphStoreWatcher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoOpJobGraphStoreWatcher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoOpJobGraphStoreWatcher INSTANCE
public static NoOpJobGraphStoreWatcher[] values()
for (NoOpJobGraphStoreWatcher c : NoOpJobGraphStoreWatcher.values()) System.out.println(c);
public static NoOpJobGraphStoreWatcher 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 void start(JobGraphStore.JobGraphListener jobGraphListener)
JobGraphStoreWatcher
JobGraphStore
.start
in interface JobGraphStoreWatcher
jobGraphListener
- use jobGraphListener to notify the DefaultJobGraphStore
public void stop()
JobGraphStoreWatcher
JobGraphStore
.stop
in interface JobGraphStoreWatcher
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.