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

E69640-01

ConditionalPutAll Class Reference

#include <coherence/util/processor/ConditionalPutAll.hpp>

Inherits AbstractProcessor.

List of all members.


Detailed Description

ConditionalPutAll is an EntryProcessor that performs a InvocableMap::Entry::setValue Entry.setValue} operation for multiple entries that satisfy the specified condition.

Author:
tb 2008.04.28

Public Types

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

Public Member Functions

virtual Object::Holder process (InvocableMap::Entry::Handle hEntry) const
 
virtual Map::View processAll (Set::View vsetEntries) const
 
virtual void readExternal (PofReader::Handle hIn)
 
virtual void writeExternal (PofWriter::Handle hOut) const
 
virtual bool equals (Object::View v) const
 
virtual size32_t hashCode () const
 

Protected Member Functions

 ConditionalPutAll ()
 Construct a ConditionalPutAll.
 ConditionalPutAll (Filter::View vFilter, Map::View vMap)
 Construct a ConditionalPutAll processor that updates an entry with a new value if and only if the filter applied to the entry evaluates to true.

Protected Attributes

FinalView< Filterf_vFilter
 The underlying filter.
FinalView< Map > f_vMap
 Specifies the map of new values.

Constructor & Destructor Documentation

ConditionalPutAll ( Filter::View  vFilter,
Map::View  vMap 
) [protected]

Construct a ConditionalPutAll processor that updates an entry with a new value if and only if the filter applied to the entry evaluates to true.

The new value is extracted from the specified map based on the entry's key.

Parameters:
vFilter the filter to evaluate all supplied entries
vMap a map of values to update entries with


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