Class ConverterCollections.ConverterCacheEventArgs
A Converter CacheEventArgs views an underlying CacheEventArgs through a set of key and value IConverters.
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class ConverterCollections.ConverterCacheEventArgs : CacheEventArgs
Constructors
ConverterCacheEventArgs(IObservableCache, CacheEventArgs, IConverter, IConverter)
Constructor.
Declaration
public ConverterCacheEventArgs(IObservableCache source, CacheEventArgs evt, IConverter convKey, IConverter convVal)
Parameters
Type | Name | Description |
---|---|---|
IObservableCache | source | The new event's source. |
CacheEventArgs | evt | The underlying CacheEventArgs. |
IConverter | convKey | The IConverter to view the underlying CacheEventArgs' key. |
IConverter | convVal | The IConverter to view the underlying CacheEventArgs' values. |
Fields
m_convKey
The IConverter to view the underlying CacheEventArgs' key.
Declaration
protected IConverter m_convKey
Field Value
Type | Description |
---|---|
IConverter |
m_convVal
The IConverter to view the underlying CacheEventArgs' value.
Declaration
protected IConverter m_convVal
Field Value
Type | Description |
---|---|
IConverter |
m_event
The underlying CacheEvent.
Declaration
protected CacheEventArgs m_event
Field Value
Type | Description |
---|---|
CacheEventArgs |
Properties
CacheEvent
The underlying CacheEventArgs.
Declaration
public virtual CacheEventArgs CacheEvent { get; }
Property Value
Type | Description |
---|---|
CacheEventArgs | The underlying CacheEventArgs. |
ConverterKeyUp
The IConverter used to view the underlying CacheEventArgs' key through.
Declaration
public virtual IConverter ConverterKeyUp { get; }
Property Value
Type | Description |
---|---|
IConverter | The IConverter from the underlying CacheEventArgs' key. |
ConverterValueUp
The IConverter used to view the underlying CacheEventArgs' value through.
Declaration
public virtual IConverter ConverterValueUp { get; }
Property Value
Type | Description |
---|---|
IConverter | The IConverter from the underlying CacheEventArgs' value. |
Key
Gets a key associated with this event.
Declaration
public override object Key { get; }
Property Value
Type | Description |
---|---|
object | A key. |
Overrides
NewValue
A new value associated with this event.
Declaration
public override object NewValue { get; }
Property Value
Type | Description |
---|---|
object | A new value. |
Overrides
Remarks
The new value represents a new value inserted into or updated
in a cache. It is always null
for "delete"
notifications.
OldValue
An old value associated with this event.
Declaration
public override object OldValue { get; }
Property Value
Type | Description |
---|---|
object | An old value. |
Overrides
Remarks
The old value represents a value deleted from or updated in a
cache. It is always null
for "insert" notifications.