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
Update the entry's value.
Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public virtual void Update( IValueUpdater updater, Object value ) |
Parameters
- updater
- Type: Tangosol.Util..::..IValueUpdater
An IValueUpdater used to modify the entry's value.
- value
- Type: System..::..Object
Value to update target object to.
Implements
IInvocableCacheEntry..::..Update(IValueUpdater, Object)
Remarks
Calling this method is semantically equivalent to:
object target = entry.Value; updater.Update(target, value); entry.Value = target;The benefit of using this method is that it may allow the entry implementation to significantly optimize the operation, such as for purposes of delta updates and backup maintenance.