Interface AggregatedStatisticsCollector

All Superinterfaces:
StatisticsCollector
All Known Implementing Classes:
DefaultAggregatedStaitsicsCollector

public interface AggregatedStatisticsCollector extends StatisticsCollector
  • Method Details

    • getContainedCollectors

      List<BasicStatisticsCollector> getContainedCollectors()
      Get all BasicStatisticsCollectors that should be aggregated.
      Returns:
      A list containing the BasicStatisticsCollectors that should be aggregated.
    • addContainedCollector

      boolean addContainedCollector(BasicStatisticsCollector collector)
      Add a BasicStatisticsCollector that should be aggregated.
      Parameters:
      collector - The collector to add to aggregated collectors.
      Returns:
      Indicating if adding was successful.
    • removeContainedCollector

      boolean removeContainedCollector(BasicStatisticsCollector collector)
      Remove BasicStatisticsCollector from aggregated collectors.
      Parameters:
      collector - The collector to add.
      Returns:
      Indicating if removing was successful.
    • evaluateValue

      boolean evaluateValue(float value)
      Evaluates the value, looking if the Value makes sense or not. Some Collectors may not work on some Operating Systems, so that we do not have to collect these data when running the platform on such a OS.
      Parameters:
      value - Float the value that has to be checked.
      Returns:
      boolean Indicates if the value makes sense (true) or not (false).