Class ExecutionVertexVersioner
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.ExecutionVertexVersioner
-
public class ExecutionVertexVersioner extends Object
Records modifications ofExecutionVertices, and allows for checking whether a vertex was modified.Examples for modifications include:
- cancellation of the underlying execution
- deployment of the execution vertex
- See Also:
DefaultScheduler
-
-
Constructor Summary
Constructors Constructor Description ExecutionVertexVersioner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionVertexVersiongetExecutionVertexVersion(ExecutionVertexID executionVertexId)Map<ExecutionVertexID,ExecutionVertexVersion>getExecutionVertexVersions(Collection<ExecutionVertexID> executionVertexIds)Set<ExecutionVertexID>getUnmodifiedExecutionVertices(Set<ExecutionVertexVersion> executionVertexVersions)booleanisModified(ExecutionVertexVersion executionVertexVersion)ExecutionVertexVersionrecordModification(ExecutionVertexID executionVertexId)Map<ExecutionVertexID,ExecutionVertexVersion>recordVertexModifications(Collection<ExecutionVertexID> vertices)
-
-
-
Method Detail
-
recordModification
public ExecutionVertexVersion recordModification(ExecutionVertexID executionVertexId)
-
recordVertexModifications
public Map<ExecutionVertexID,ExecutionVertexVersion> recordVertexModifications(Collection<ExecutionVertexID> vertices)
-
isModified
public boolean isModified(ExecutionVertexVersion executionVertexVersion)
-
getUnmodifiedExecutionVertices
public Set<ExecutionVertexID> getUnmodifiedExecutionVertices(Set<ExecutionVertexVersion> executionVertexVersions)
-
getExecutionVertexVersions
public Map<ExecutionVertexID,ExecutionVertexVersion> getExecutionVertexVersions(Collection<ExecutionVertexID> executionVertexIds)
-
getExecutionVertexVersion
public ExecutionVertexVersion getExecutionVertexVersion(ExecutionVertexID executionVertexId)
-
-