public enum ThrowingJobGraphWriter extends Enum<ThrowingJobGraphWriter> implements JobGraphWriter
JobGraphWriter implementation which does not allow to store JobGraph.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
putJobGraph(JobGraph jobGraph)
Adds the
JobGraph instance. |
void |
putJobResourceRequirements(org.apache.flink.api.common.JobID jobId,
JobResourceRequirements jobResourceRequirements)
Persist
job resource requirements for the given job. |
static ThrowingJobGraphWriter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrowingJobGraphWriter[] |
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, valueOfglobalCleanupAsync, localCleanupAsyncpublic static final ThrowingJobGraphWriter INSTANCE
public static ThrowingJobGraphWriter[] values()
for (ThrowingJobGraphWriter c : ThrowingJobGraphWriter.values()) System.out.println(c);
public static ThrowingJobGraphWriter 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 putJobGraph(JobGraph jobGraph)
JobGraphWriterJobGraph instance.
If a job graph with the same JobID exists, it is replaced.
putJobGraph in interface JobGraphWriterpublic void putJobResourceRequirements(org.apache.flink.api.common.JobID jobId,
JobResourceRequirements jobResourceRequirements)
JobGraphWriterjob resource requirements for the given job.putJobResourceRequirements in interface JobGraphWriterjobId - job the given requirements belong tojobResourceRequirements - requirements to persistCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.