public enum ThrowingJobGraphWriter extends Enum<ThrowingJobGraphWriter> implements JobGraphWriter
JobGraphWriter implementation which does not allow to store JobGraph.| 枚举常量和说明 |
|---|
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
putJobGraph(JobGraph jobGraph)
Adds the
JobGraph instance. |
void |
releaseJobGraph(org.apache.flink.api.common.JobID jobId)
Releases the locks on the specified
JobGraph. |
void |
removeJobGraph(org.apache.flink.api.common.JobID jobId)
Removes the
JobGraph with the given JobID if it exists. |
static ThrowingJobGraphWriter |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ThrowingJobGraphWriter[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ThrowingJobGraphWriter INSTANCE
public static ThrowingJobGraphWriter[] values()
for (ThrowingJobGraphWriter c : ThrowingJobGraphWriter.values()) System.out.println(c);
public static ThrowingJobGraphWriter valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public void putJobGraph(JobGraph jobGraph)
JobGraphWriterJobGraph instance.
If a job graph with the same JobID exists, it is replaced.
putJobGraph 在接口中 JobGraphWriterpublic void removeJobGraph(org.apache.flink.api.common.JobID jobId)
JobGraphWriterJobGraph with the given JobID if it exists.removeJobGraph 在接口中 JobGraphWriterpublic void releaseJobGraph(org.apache.flink.api.common.JobID jobId)
JobGraphWriterJobGraph.
Releasing the locks allows that another instance can delete the job from the JobGraphStore.
releaseJobGraph 在接口中 JobGraphWriterjobId - specifying the job to release the locks forCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.