Interface StatisticsCollector<T>


public interface StatisticsCollector<T>
Handles collecting a single set of statistics, and emitting the related analytics event
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default boolean
    Determines whether StatisticsCollector should run on each node OR once per cluster.
  • Method Details

    • collect

      Iterable<T> collect()
      Returns:
      the statistics event to publish
    • isPerNodeCollector

      default boolean isPerNodeCollector()
      Determines whether StatisticsCollector should run on each node OR once per cluster.
      Returns:
      true if StatisticsCollector should run on each node, false if once per cluster.