Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47891-01

ParallelCompositeAggregator Class Reference

#include <coherence/util/aggregator/ParallelCompositeAggregator.hpp>

Inherits CompositeAggregator, and InvocableMap::ParallelAwareAggregator.

List of all members.


Detailed Description

ParallelCompositeAggregator provides an ability to execute a collection of parallel aware aggregators against the same subset of the entries in an InvocableMap, resulting in a list of corresponding aggregation results.

The size of the returned list will always be equal to the length of the aggregators' array.

Unlike many other concrete EntryAggregator implementations that are constructed directly, instances of ParallelCompositeAggregator should only becreated indirectly by using the factory method of CompositeAggregator.

Author:
djl 2008.05.16

Public Types

typedef spec::Handle Handle
 ParallelCompositeAggregator Handle definition.
typedef spec::View View
 ParallelCompositeAggregator View definition.
typedef spec::Holder Holder
 ParallelCompositeAggregator Holder definition.

Public Member Functions

virtual
InvocableMap::EntryAggregator::Handle 
getParallelAggregator ()
 Get an aggregator that can take the place of this aggregator in situations in which the InvocableMap can aggregate in parallel.

Returns:
the aggregator that will be run in parallel

virtual Object::Holder aggregateResults (Collection::View vCollResults)
 Aggregate the results of the parallel aggregations.

Parameters:
vCollResults the parallel aggregation results
Returns:
the aggregation of the parallel aggregation results


Protected Member Functions

 ParallelCompositeAggregator ()
 Default constructor (necessary for the PortableObject interface).
 ParallelCompositeAggregator (ObjectArray::View vaAggregator)
 Construct a ParallelCompositeAggregator based on a specified coherence::util::InvocableMap::EntryAggregator array.

Constructor & Destructor Documentation

ParallelCompositeAggregator ( ObjectArray::View  vaAggregator  )  [protected]

Construct a ParallelCompositeAggregator based on a specified coherence::util::InvocableMap::EntryAggregator array.

Parameters:
vaAggregator an array of ParallelAwareAggregator objects; may not be null


The documentation for this class was generated from the following file:
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.