Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
UpdaterProcessor is an IEntryProcessor
implementations that updates an attribute of an object cached in an
IInvocableCache.
Namespace: Tangosol.Util.Processor
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public class UpdaterProcessor : AbstractProcessor, IPortableObject |
Remarks
A common usage pattern is:
cache.Invoke(Key, new UpdaterProcessor(updater, value));which is functionally equivalent to the following operation:
Object target = cache.Get(Key); updater.update(target, value); cache.Put(Key, target);The major difference is that for clustered caches using the UpdaterProcessor allows avoiding explicit concurrency control and could significantly reduce the amount of network traffic.
Inheritance Hierarchy
System..::..Object
Tangosol.Util.Processor..::..AbstractProcessor
Tangosol.Util.Processor..::..UpdaterProcessor
Tangosol.Util.Processor..::..AbstractProcessor
Tangosol.Util.Processor..::..UpdaterProcessor