Click or drag to resize

LocalCacheEntryUpdate Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Update the entry's value.

Namespace:  Tangosol.Net.Cache
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual void Update(
	IValueUpdater updater,
	Object value
)

Parameters

updater
Type: Tangosol.UtilIValueUpdater
An IValueUpdater used to modify the entry's value.
value
Type: SystemObject
Value to update target object to.

Implements

IInvocableCacheEntryUpdate(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.
See Also