Interface Aggregator<R extends Result>

Type Parameters:
R - accepted result type
All Known Implementing Classes:
AverageTimeResult.ResultAggregator, LinuxPerfProfiler.PerfResultAggregator, PausesProfiler.PausesProfilerResult.JoiningAggregator, SafepointsProfiler.SafepointProfilerResult.JoiningAggregator, SampleTimeResult.JoiningAggregator, ScalarDerivativeResult.ScalarResultAggregator, ScalarResult.ScalarResultAggregator, SingleShotResult.AveragingAggregator, StackProfiler.StackResultAggregator, TextResultAggregator, ThroughputResult.ThroughputAggregator

public interface Aggregator<R extends Result>
Aggregator composes multiple results into one. It is assumed the collection has the results of specified type. This class is generic to save some of the unchecked casts in the code.
  • Method Summary

    Modifier and Type
    Method
    Description
    Aggregate the results.
  • Method Details

    • aggregate

      R aggregate(Collection<R> results)
      Aggregate the results.
      Parameters:
      results - results to aggregate
      Returns:
      aggregated result; may throw exceptions on validation errors