#include <coherence/util/processor/UpdaterProcessor.hpp>
Inherits AbstractProcessor, and PortableObject.
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 | |||
| Process a Map::Entry object.
This implementation throws an UnsupportedOperationException.
| ||||
| 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 | |||
| Return a hash code value for the Object. This method is supported for the benefit of hash-based containers.
The general contract of
The default implementation is identity based.
| ||||
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< ValueUpdater > | f_vUpdater | |||
| The underlying ValueUpdater. | ||||
| FinalHolder< Object > | f_hValue | |||
| A value to update the entry's value with. | ||||
| UpdaterProcessor | ( | ValueUpdater::View | vUpdater, | |
| Object::Holder | hValue | |||
| ) | [protected] |
Construct an UpdaterProcessor based on the specified ValueUpdater.
| 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 |