T
- Type of statistics to trackpublic interface VertexStatsTracker<T extends Statistics>
AccessExecutionJobVertex
.Modifier and Type | Method and Description |
---|---|
Optional<T> |
getExecutionVertexStats(JobID jobId,
AccessExecutionJobVertex vertex,
int subtaskIndex)
Returns statistics for a execution vertex.
|
Optional<T> |
getJobVertexStats(JobID jobId,
AccessExecutionJobVertex vertex)
Returns statistics for a job vertex.
|
void |
shutDown()
Shuts the
VertexStatsTracker down. |
Optional<T> getJobVertexStats(JobID jobId, AccessExecutionJobVertex vertex)
jobId
- job the vertex belongs tovertex
- Vertex to get the stats for.Optional<T> getExecutionVertexStats(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 FlinkException
VertexStatsTracker
down.FlinkException
- if the VertexStatsTracker
could not be shut downCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.