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

E69640-01

UpdaterProcessor Class Reference

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

Inherits AbstractProcessor.

List of all members.


Detailed Description

UpdaterProcessor is an EntryProcessor implementations that updates an attribute of an object cached in an InvocableMap.

Author:
tb 2008.04.28

Public Types

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

Public Member Functions

virtual Object::Holder process (InvocableMap::Entry::Handle hEntry) 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

 UpdaterProcessor ()
 Construct a UpdaterProcessor.
 UpdaterProcessor (ValueUpdater::View vUpdater, Object::Holder hValue)
 Construct an UpdaterProcessor based on the specified ValueUpdater.

Protected Attributes

FinalView< ValueUpdaterf_vUpdater
 The underlying ValueUpdater.
FinalHolder< Object > f_hValue
 A value to update the entry's value with.

Constructor & Destructor Documentation

UpdaterProcessor ( ValueUpdater::View  vUpdater,
Object::Holder  hValue 
) [protected]

Construct an UpdaterProcessor based on the specified ValueUpdater.

Parameters:
vUpdater a ValueUpdater object; passing null will simpy replace the entry's value with the specified one instead of updating it
hValue the value to update the target entry with


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