#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.
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;
|