Oracle® Coherence Java API Reference
v3.5.3

E15583-01

com.tangosol.util.aggregator
Class GroupAggregator.Parallel

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.BitHelper
          extended by com.tangosol.util.ExternalizableHelper
              extended by com.tangosol.util.aggregator.GroupAggregator
                  extended by com.tangosol.util.aggregator.GroupAggregator.Parallel
All Implemented Interfaces:
ExternalizableLite, PortableObject, InvocableMap.EntryAggregator, InvocableMap.ParallelAwareAggregator, java.io.Serializable
Enclosing class:
GroupAggregator

public static class GroupAggregator.Parallel
extends GroupAggregator
implements InvocableMap.ParallelAwareAggregator

Parallel implementation of the GroupAggregator.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.tangosol.util.aggregator.GroupAggregator
GroupAggregator.Parallel
 
Field Summary
 
Fields inherited from class com.tangosol.util.aggregator.GroupAggregator
m_aggregator, m_extractor, m_filter
 
Constructor Summary
  GroupAggregator.Parallel()
          Default constructor (necessary for the ExternalizableLite interface).
protected GroupAggregator.Parallel(ValueExtractor extractor, InvocableMap.ParallelAwareAggregator aggregator, Filter filter)
          Construct a Parallel aggregator based on a specified ValueExtractor and underlying ParallelAwareAggregator.
 
Method Summary
 java.lang.Object aggregateResults(java.util.Collection collResults)
          Aggregate the results of the parallel aggregations.
 InvocableMap.EntryAggregator getParallelAggregator()
          Get an aggregator that can take the place of this aggregator in situations in which the InvocableMap can aggregate in parallel.
 
Methods inherited from class com.tangosol.util.aggregator.GroupAggregator
aggregate, createInstance, createInstance, createInstance, createInstance, equals, getAggregator, getExtractor, hashCode, readExternal, readExternal, toString, writeExternal, writeExternal
 
Methods inherited from class com.tangosol.util.BitHelper
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString
 
Methods inherited from interface com.tangosol.util.InvocableMap.EntryAggregator
aggregate
 

Constructor Detail

GroupAggregator.Parallel

public GroupAggregator.Parallel()
Default constructor (necessary for the ExternalizableLite interface).


GroupAggregator.Parallel

protected GroupAggregator.Parallel(ValueExtractor extractor,
                                   InvocableMap.ParallelAwareAggregator aggregator,
                                   Filter filter)
Construct a Parallel aggregator based on a specified ValueExtractor and underlying ParallelAwareAggregator.

Parameters:
extractor - a ValueExtractor object; may not be null
aggregator - an EntryAggregator object; may not be null
Method Detail

getParallelAggregator

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

Specified by:
getParallelAggregator in interface InvocableMap.ParallelAwareAggregator
Returns:
the aggregator that will be run in parallel

aggregateResults

public java.lang.Object aggregateResults(java.util.Collection collResults)
Aggregate the results of the parallel aggregations.

Specified by:
aggregateResults in interface InvocableMap.ParallelAwareAggregator
Parameters:
collResults - the parallel aggregation results
Returns:
the aggregation of the parallel aggregation results

Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.