LocalCacheInstantiateCacheEvent Method  | 
.NET API Reference for Oracle® Coherence Community Edition 
 (14.1.1.0)
E55634-01
 
            Factory pattern: instantiate a new 
CacheEventArgs
            corresponding to the specified parameters.
            
 
    Namespace: 
   Tangosol.Net.Cache
    Assembly:
   Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxprotected virtual CacheEventArgs InstantiateCacheEvent(
	CacheEventType type,
	Object key,
	Object valueOld,
	Object valueNew
)
Parameters
- type
 - Type: Tangosol.Net.CacheCacheEventType
            This event's type, one of CacheEventType
            values.
             - key
 - Type: SystemObject
            The key into the cache.
             - valueOld
 - Type: SystemObject
            The old value (for update and delete events).
             - valueNew
 - Type: SystemObject
            The new value (for insert and update events).
             
Return Value
Type: 
CacheEventArgs
            A new instance of the 
CacheEventArgs class (or a
            subclass thereof).
            
See Also