Class ExecutionVertexVersioner
java.lang.Object
org.apache.flink.runtime.scheduler.ExecutionVertexVersioner
Records modifications of
ExecutionVertices, 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExecutionVertexVersion(ExecutionVertexID executionVertexId) getExecutionVertexVersions(Collection<ExecutionVertexID> executionVertexIds) getUnmodifiedExecutionVertices(Set<ExecutionVertexVersion> executionVertexVersions) booleanisModified(ExecutionVertexVersion executionVertexVersion) recordModification(ExecutionVertexID executionVertexId) recordVertexModifications(Collection<ExecutionVertexID> vertices)
-
Constructor Details
-
ExecutionVertexVersioner
public ExecutionVertexVersioner()
-
-
Method Details
-
recordModification
-
recordVertexModifications
public Map<ExecutionVertexID,ExecutionVertexVersion> recordVertexModifications(Collection<ExecutionVertexID> vertices) -
isModified
-
getUnmodifiedExecutionVertices
public Set<ExecutionVertexID> getUnmodifiedExecutionVertices(Set<ExecutionVertexVersion> executionVertexVersions) -
getExecutionVertexVersions
public Map<ExecutionVertexID,ExecutionVertexVersion> getExecutionVertexVersions(Collection<ExecutionVertexID> executionVertexIds) -
getExecutionVertexVersion
-