Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
CacheEventArgs Constructor
CacheEventArgs Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Constructs a new CacheEventArgs.

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

# Syntax

C#
    public CacheEventArgs(
    	IObservableCache source,
    	CacheEventType eventType,
    	Object key,
    	Object valueOld,
    	Object valueNew,
    	bool isSynthetic
    )

#### Parameters

source
  Type: Tangosol.Net.Cache..::.IObservableCache
  The IObservableCache object that fired the event.

eventType
  Type: Tangosol.Net.Cache..::.CacheEventType
  This event's type, one of CacheEventType values.

key
  Type: System..::.Object
  The key into the cache.

valueOld
  Type: System..::.Object
  The old value (for update and delete events).

valueNew
  Type: System..::.Object
  The new value (for insert and update events).

isSynthetic
  Type: System..::.Boolean
  true if the event is caused by the cache internal processing such as eviction or loading.

# See Also

CacheEventArgs Class
Tangosol.Net.Cache Namespace