Interface ICacheTriggerEntry
A ICacheTrigger entry represents a pending change to an entry that is about to committed to the underlying cache.
Inherited Members
Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
public interface ICacheTriggerEntry : IInvocableCacheEntry, ICacheEntry
Remarks
The methods inherited from IInvocableCacheEntry provide both the pending state and the ability to alter that state. The original state of the entry can be obtained using the OriginalValue and IsOriginalPresent properties.
Properties
IsOriginalPresent
Determine whether or not the entry existed before the start of the mutating operation that is being evaluated by the trigger.
Declaration
bool IsOriginalPresent { get; }
Property Value
Type | Description |
---|---|
bool | true iff this entry was existent in the containing cache. |
OriginalValue
Get the value that existed before the start of the mutating operation that is being evaluated by the trigger.
Declaration
object OriginalValue { get; }
Property Value
Type | Description |
---|---|
object | The original value corresponding to this entry; may be
|