Interface StatisticsCollector<T>
public interface StatisticsCollector<T>
Handles collecting a single set of statistics, and emitting the related analytics event
-
Method Summary
Modifier and TypeMethodDescriptioncollect()default booleanDetermines whether StatisticsCollector should run on each node OR once per cluster.
-
Method Details
-
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.
-