Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/util/processor/AbstractProcessor.hpp>
Inherits Describable, and InvocableMap::EntryProcessor.
Inherited by CompositeProcessor, ConditionalProcessor, ConditionalPut, ConditionalPutAll, ConditionalRemove, ExtractorProcessor, PreloadRequest, PropertyProcessor, UpdaterProcessor, VersionedPut, and VersionedPutAll.
An AbstractProcessor is a partial EntryProcessor implementation that provides the default implementation of the processAll method.
Public Types |
||||
| typedef spec::Handle | Handle | |||
| AbstractProcessor Handle definition. | ||||
| typedef spec::View | View | |||
| AbstractProcessor View definition. | ||||
| typedef spec::Holder | Holder | |||
| AbstractProcessor Holder definition. | ||||
Public Member Functions |
||||
| virtual Map::View | processAll (Set::View vSetEntries) const | |||
| Process a Set of InvocableMap::Entry objects.
This method is semantically equivalent to: Map::Handle hMapResults = HashMap::create(); for (Iterator::Handle hIter = vSetEntries->iterator(); iter->hasNext; ) { InvocableMap::Entry::Handle hEntry = cast<InvocableMap::Entry::Handle>(hIter->next()); hMapResults->put(hEntry->getKey(), process(hEntry)); } return hMapResults;
|
||||
The documentation for this class was generated from the following file: