Interface IEntryAggregator
An IEntryAggregator represents processing that can be directed to occur against some subset of the entries in an IInvocableCache, resulting in a aggregated result.
Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
public interface IEntryAggregator
Remarks
Common examples of aggregation include functions such as Min(), Max(), Sum() and Avg(). However, the concept of aggregation applies to any process that needs to evaluate a group of entries to come up with a single answer.
Methods
Aggregate(ICollection)
Process a set of IInvocableCacheEntry objects in order to produce an aggregated result.
Declaration
object Aggregate(ICollection entries)
Parameters
Type | Name | Description |
---|---|---|
ICollection | entries | A collection of read-only IInvocableCacheEntry objects to aggregate. |
Returns
Type | Description |
---|---|
object | The aggregated result from processing the entries. |