Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Store the value corresponding to this entry.

Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public virtual void SetValue(
	Object value,
	bool isSynthetic
)

Parameters

value
Type: System..::..Object
The new value for this entry.
isSynthetic
Type: System..::..Boolean
Pass true only if the insertion into or modification of the cache should be treated as a synthetic event.

Implements

IInvocableCacheEntry..::..SetValue(Object, Boolean)

Remarks

If the entry does not exist, then the entry will be created by invoking this method, even with a null value (assuming the cache supports null values).

Unlike the property Value, this method does not return the previous value, and as a result may be significantly less expensive (in terms of cost of execution) for certain cache implementations.

See Also