T - Type of statistics to trackpublic interface VertexStatsTracker<T extends Statistics>
AccessExecutionJobVertex.| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
getExecutionVertexStats(org.apache.flink.api.common.JobID jobId,
AccessExecutionJobVertex vertex,
int subtaskIndex)
Returns statistics for a execution vertex.
|
Optional<T> |
getJobVertexStats(org.apache.flink.api.common.JobID jobId,
AccessExecutionJobVertex vertex)
Returns statistics for a job vertex.
|
void |
shutDown()
Shuts the
VertexStatsTracker down. |
Optional<T> getJobVertexStats(org.apache.flink.api.common.JobID jobId, AccessExecutionJobVertex vertex)
jobId - job the vertex belongs tovertex - Vertex to get the stats for.Optional<T> getExecutionVertexStats(org.apache.flink.api.common.JobID jobId, AccessExecutionJobVertex vertex, int subtaskIndex)
Note: A single subtask may have multiple attempts, it will return the result of all attempts.
jobId - job the vertex belongs tovertex - Vertex to get the stats for.subtaskIndex - SubtaskIndex to get the stats for.void shutDown()
throws org.apache.flink.util.FlinkException
VertexStatsTracker down.org.apache.flink.util.FlinkException - if the VertexStatsTracker could not be shut downCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.