PriorityAggregator Class |
Namespace: Tangosol.Util.Aggregator
public class PriorityAggregator : AbstractPriorityTask, IParallelAwareAggregator, IEntryAggregator, IPortableObject
The PriorityAggregator type exposes the following members.
Name | Description | |
---|---|---|
![]() | PriorityAggregator |
Default constructor.
|
![]() | PriorityAggregator(IParallelAwareAggregator) |
Construct a PriorityAggregator.
|
Name | Description | |
---|---|---|
![]() | Aggregator |
Obtain the underlying aggregator.
|
![]() | ExecutionTimeoutMillis |
The maximum amount of time this task is allowed to run before the
corresponding service will attempt to stop it.
(Inherited from AbstractPriorityTask.) |
![]() | ParallelAggregator |
Get an aggregator that can take the place of this aggregator in
situations in which the IInvocableCache can
aggregate in parallel.
|
![]() | RequestTimeoutMillis |
The maximum amount of time a calling thread is willing to wait
for a result of the request execution.
(Inherited from AbstractPriorityTask.) |
![]() | SchedulingPriority |
This task's scheduling priority.
(Inherited from AbstractPriorityTask.) |
Name | Description | |
---|---|---|
![]() | Aggregate |
Process a set of IInvocableCacheEntry objects
in order to produce an aggregated result.
|
![]() | AggregateResults |
Aggregate the results of the parallel aggregations.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReadExternal |
Restore the contents of a user type instance by reading its state
using the specified IPofReader object.
(Overrides AbstractPriorityTaskReadExternal(IPofReader).) |
![]() | RunCanceled |
This method will be called if and only if all attempts to
interrupt this task were unsuccesful in stopping the execution or
if the execution was canceled before it had a chance to
run at all.
(Inherited from AbstractPriorityTask.) |
![]() | ToString |
Return a human-readable description for this
PriorityAggregator.
(Overrides ObjectToString.) |
![]() | WriteExternal |
Save the contents of a POF user type instance by writing its
state using the specified IPofWriter object.
(Overrides AbstractPriorityTaskWriteExternal(IPofWriter).) |
DoubleAverage aggrStandard = new DoubleAverage("Price"); PriorityAggregator aggrPriority = new PriorityAggregator(aggrStandard); aggrPriority.ExecutionTimeoutMillis = PriorityTaskTimeout.None; aggrPriority.RequestTimeoutMillis = PriorityTaskTimeout.None; cacheOrders.Aggregate(null, aggrPriority);