Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
PriorityAggregator is used to explicitly control the scheduling priority and timeouts for execution of IEntryAggregator -based methods.

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

Syntax

Remarks

For example, let's assume that there is an Orders cache that belongs to a partitioned cache service configured with a request-timeout and task-timeout of 5 seconds. Also assume that we are willing to wait longer for a particular aggregation request that scans the entire cache. Then we could override the default timeout values by using the PriorityAggregator as follows:
CopyC#
DoubleAverage      aggrStandard = new DoubleAverage("Price");
PriorityAggregator aggrPriority = new PriorityAggregator(aggrStandard);
aggrPriority.ExecutionTimeoutMillis = PriorityTaskTimeout.None;
aggrPriority.RequestTimeoutMillis   = PriorityTaskTimeout.None;
cacheOrders.Aggregate(null, aggrPriority);
This is an advanced feature which should be used judiciously.

Inheritance Hierarchy

System..::..Object
  Tangosol.Net..::..AbstractPriorityTask
    Tangosol.Util.Aggregator..::..PriorityAggregator

See Also