Interface MetricFetcher

All Known Implementing Classes:
MetricFetcherImpl, VoidMetricFetcher

public interface MetricFetcher
The MetricFetcher can be used to fetch metrics from the JobManager and all registered TaskManagers.

Metrics will only be fetched when update() is called, provided that a sufficient time since the last call has passed.

  • Method Details

    • getMetricStore

      MetricStore getMetricStore()
      Get MetricStore which contains all currently fetched metrics.
      Returns:
      MetricStore with all fetched metrics
    • update

      void update()
      Trigger fetching of metrics.
    • getLastUpdateTime

      long getLastUpdateTime()
      Returns:
      timestamp of the last update.