Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Create an instance of CompositeAggregator based on a specified IEntryAggregator array.

Namespace:  Tangosol.Util.Aggregator
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public static CompositeAggregator CreateInstance(
	IEntryAggregator[] aggregators
)

Parameters

aggregators
Type: array< Tangosol.Net.Cache..::.IEntryAggregator >[]()[]
An array of IEntryAggregator objects; must contain not less than two aggregators.

Return Value

CompositeAggregator instance.

Remarks

If all the aggregators in the specified array are instances of IParallelAwareAggregator, then a parallel-aware instance of the CompositeAggregator will be created.

If at least one of the specified aggregator is not parallel-aware, then the resulting CompositeAggregator will not be parallel-aware and could be ill-suited for aggregations run against large partitioned caches.

See Also