Class MetricStore.JobMetricStoreSnapshot
- java.lang.Object
-
- org.apache.flink.runtime.rest.handler.legacy.metrics.MetricStore.JobMetricStoreSnapshot
-
- Enclosing class:
- MetricStore
@ThreadSafe public static class MetricStore.JobMetricStoreSnapshot extends Object
Sub-structure containing a snapshot of all jobs in the metric store.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricStore.ComponentMetricStoregetSubtaskAttemptMetricStore(String jobID, String taskID, int subtaskIndex, int attemptNumber)MetricStore.ComponentMetricStoregetSubtaskMetricStore(String jobID, String taskID, int subtaskIndex)Returns theMetricStore.ComponentMetricStorefor the given job/task ID and subtask index.Collection<? extends MetricStore.ComponentMetricStore>values()
-
-
-
Method Detail
-
getSubtaskMetricStore
public MetricStore.ComponentMetricStore getSubtaskMetricStore(String jobID, String taskID, int subtaskIndex)
Returns theMetricStore.ComponentMetricStorefor the given job/task ID and subtask index.- Parameters:
jobID- job IDtaskID- task IDsubtaskIndex- subtask index- Returns:
- SubtaskMetricStore for the given IDs and index, or null if no store for the given arguments exists
-
getSubtaskAttemptMetricStore
public MetricStore.ComponentMetricStore getSubtaskAttemptMetricStore(String jobID, String taskID, int subtaskIndex, int attemptNumber)
-
values
public Collection<? extends MetricStore.ComponentMetricStore> values()
-
-