public class VertexThreadInfoTracker extends Object implements VertexStatsTracker<VertexThreadInfoStats>
ExecutionJobVertex.| Modifier and Type | Method and Description |
|---|---|
Optional<VertexThreadInfoStats> |
getExecutionVertexStats(org.apache.flink.api.common.JobID jobId,
AccessExecutionJobVertex vertex,
int subtaskIndex)
Returns statistics for a execution vertex.
|
Optional<VertexThreadInfoStats> |
getJobVertexStats(org.apache.flink.api.common.JobID jobId,
AccessExecutionJobVertex vertex)
Returns statistics for a job vertex.
|
void |
shutDown()
Shuts the
VertexStatsTracker down. |
public Optional<VertexThreadInfoStats> getJobVertexStats(org.apache.flink.api.common.JobID jobId, AccessExecutionJobVertex vertex)
VertexStatsTrackergetJobVertexStats in interface VertexStatsTracker<VertexThreadInfoStats>jobId - job the vertex belongs tovertex - Vertex to get the stats for.public Optional<VertexThreadInfoStats> getExecutionVertexStats(org.apache.flink.api.common.JobID jobId, AccessExecutionJobVertex vertex, int subtaskIndex)
VertexStatsTrackerNote: A single subtask may have multiple attempts, it will return the result of all attempts.
getExecutionVertexStats in interface VertexStatsTracker<VertexThreadInfoStats>jobId - job the vertex belongs tovertex - Vertex to get the stats for.subtaskIndex - SubtaskIndex to get the stats for.public void shutDown()
VertexStatsTrackerVertexStatsTracker down.shutDown in interface VertexStatsTracker<VertexThreadInfoStats>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.