Show / Hide Table of Contents

Interface ICacheTriggerEntry

A ICacheTrigger entry represents a pending change to an entry that is about to committed to the underlying cache.

Inherited Members
IInvocableCacheEntry.Key
IInvocableCacheEntry.Value
IInvocableCacheEntry.SetValue(object, bool)
IInvocableCacheEntry.IsPresent
IInvocableCacheEntry.Extract(IValueExtractor)
IInvocableCacheEntry.Update(IValueUpdater, object)
IInvocableCacheEntry.Remove(bool)
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 null if the value is null or if the entry did not exist in the cache.

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.