Package org.openjdk.jmc.common.item
Interface IAggregator<V,C extends IItemConsumer<C>>
-
- Type Parameters:
V
- the type of the calculation resultC
- An item consumer type. SeeIItemConsumer
about the self referring extends definition. Only really important when implementing this interface. When handling aggregator instances you can usually use?
.
- All Superinterfaces:
IDescribable
,IItemConsumerFactory<C>
,IValueBuilder<V,java.util.Iterator<C>>
- All Known Implementing Classes:
Aggregators.AdvancedMaxAggregator
,Aggregators.AdvancedMinAggregator
,Aggregators.AdvancedMinMaxAggregator
,Aggregators.AggregatorBase
,Aggregators.AndOr
,Aggregators.Avg
,Aggregators.Count
,Aggregators.FieldAggregatorBase
,Aggregators.MergingAggregator
,Aggregators.MinMax
,Aggregators.SetAggregator
,Aggregators.Stddev
,Aggregators.Sum
,Aggregators.Variance
,FullGcRule.G1Aggregator
,GroupingAggregator.GroupingAggregatorImpl
public interface IAggregator<V,C extends IItemConsumer<C>> extends IItemConsumerFactory<C>, IDescribable, IValueBuilder<V,java.util.Iterator<C>>
Encapsulates the calculation of an aggregate for (potentially) different types of items. Basically this is a combination ofIItemConsumerFactory
that createsIItemConsumer
s which consumes input items and calculates intermediate values,IValueBuilder
which maps from the IItemConsumer intermediate values to the output value, andIDescribable
which provides human readable descriptions about the output value.
-
-
Method Summary
-
Methods inherited from interface org.openjdk.jmc.common.IDescribable
getDescription, getName
-
Methods inherited from interface org.openjdk.jmc.common.item.IItemConsumerFactory
acceptType, newItemConsumer
-
Methods inherited from interface org.openjdk.jmc.common.item.IValueBuilder
getValue, getValueType
-
-