InvocableMap::EntryAggregator Class Reference

#include <coherence/util/InvocableMap.hpp>

Inherits Object.

Inherited by CompositeAggregator [virtual], GroupAggregator [virtual], and InvocableMap::ParallelAwareAggregator [virtual].

List of all members.


Detailed Description

An EntryAggregator represents processing that can be directed to occur against some subset of the entries in an InvocableMap, resulting in a aggregated result.

Common examples of aggregation include functions such as min(), max() and avg(). However, the concept of aggregation applies to any process that needs to evaluate a group of entries to come up with a single answer.

Public Types

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

Public Member Functions

virtual Object::Holder aggregate (Set::View vSetEntries)=0
 Process a set of InvocableMap::Entry objects in order to produce an aggregated result.


Member Function Documentation

virtual Object::Holder aggregate ( Set::View  vSetEntries  )  [pure virtual]

Process a set of InvocableMap::Entry objects in order to produce an aggregated result.

Parameters:
vSetEntries a Set of read-only InvocableMap::Entry objects to aggregate
Returns:
the aggregated result from processing the entries

Implemented in AbstractAggregator, CompositeAggregator, Count, GroupAggregator, and PriorityAggregator.


The documentation for this class was generated from the following file: Copyright (c) 2000-2008 Oracle. All rights reserved.