Class FilterEventArgs
An extension of the CacheEventArgs which may carry no values (old or new), but instead holds on an array of IFilter objects being the "cause" of the event.
Inherited Members
Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
public class FilterEventArgs : CacheEventArgs
Constructors
FilterEventArgs(CacheEventArgs, IFilter[])
Constructs a new FilterEventArgs from another FilterEventArgs.
Declaration
public FilterEventArgs(CacheEventArgs evt, IFilter[] filters)
Parameters
Type | Name | Description |
---|---|---|
CacheEventArgs | evt | The FilterEventArgs object that fired the event. |
IFilter[] | filters | An array of filters that caused this event. |
FilterEventArgs(IObservableCache, CacheEventType, object, bool, IFilter[])
Constructs a new lite (no values are speicifed) FilterEventArgs.
Declaration
public FilterEventArgs(IObservableCache map, CacheEventType id, object key, bool isSynthetic, IFilter[] filters)
Parameters
Type | Name | Description |
---|---|---|
IObservableCache | map | The IObservableCache object that fired the event. |
CacheEventType | id | This event's id. |
object | key | The key into the cache. |
bool | isSynthetic | true if the event is caused by the cache internal processing such as eviction or loading. |
IFilter[] | filters | An array of filters that caused this event. |
FilterEventArgs(IObservableCache, CacheEventType, object, object, object, bool, TransformationState, bool, bool, IFilter[])
Constructs a new FilterEventArgs.
Declaration
public FilterEventArgs(IObservableCache cache, CacheEventType type, object key, object valueOld, object valueNew, bool isSynthetic, CacheEventArgs.TransformationState transformState, bool isPriming, bool isExpired, IFilter[] filters)
Parameters
Type | Name | Description |
---|---|---|
IObservableCache | cache | The IObservableCache object that fired the event |
CacheEventType | type | This event's type. |
object | key | The key into the cache. |
object | valueOld | The old value. |
object | valueNew | The new value. |
bool | isSynthetic | true if the event is caused by the cache internal processing such as eviction or loading. |
CacheEventArgs.TransformationState | transformState | The TransformationState state describing how this event has been or should be transformed. |
bool | isPriming | true if the event is a priming event. |
bool | isExpired | true if the event is an expired event. |
IFilter[] | filters | An array of filters that caused this event. |
FilterEventArgs(IObservableCache, CacheEventType, object, object, object, bool, TransformationState, bool, IFilter[])
Constructs a new FilterEventArgs.
Declaration
public FilterEventArgs(IObservableCache cache, CacheEventType type, object key, object valueOld, object valueNew, bool isSynthetic, CacheEventArgs.TransformationState transformState, bool isPriming, IFilter[] filters)
Parameters
Type | Name | Description |
---|---|---|
IObservableCache | cache | The IObservableCache object that fired the event |
CacheEventType | type | This event's type. |
object | key | The key into the cache. |
object | valueOld | The old value. |
object | valueNew | The new value. |
bool | isSynthetic | true if the event is caused by the cache internal processing such as eviction or loading. |
CacheEventArgs.TransformationState | transformState | The TransformationState state describing how this event has been or should be transformed. |
bool | isPriming | true if the event is a priming event. |
IFilter[] | filters | An array of filters that caused this event. |
FilterEventArgs(IObservableCache, CacheEventType, object, object, object, bool, TransformationState, IFilter[])
Constructs a new FilterEventArgs.
Declaration
public FilterEventArgs(IObservableCache cache, CacheEventType type, object key, object valueOld, object valueNew, bool isSynthetic, CacheEventArgs.TransformationState transformState, IFilter[] filters)
Parameters
Type | Name | Description |
---|---|---|
IObservableCache | cache | The IObservableCache object that fired the event |
CacheEventType | type | This event's type. |
object | key | The key into the cache. |
object | valueOld | The old value. |
object | valueNew | The new value. |
bool | isSynthetic | true if the event is caused by the cache internal processing such as eviction or loading. |
CacheEventArgs.TransformationState | transformState | The TransformationState state describing how this event has been or should be transformed. |
IFilter[] | filters | An array of filters that caused this event. |
FilterEventArgs(IObservableCache, CacheEventType, object, object, object, bool, IFilter[])
Constructs a new FilterEventArgs.
Declaration
public FilterEventArgs(IObservableCache cache, CacheEventType type, object key, object valueOld, object valueNew, bool isSynthetic, IFilter[] filters)
Parameters
Type | Name | Description |
---|---|---|
IObservableCache | cache | The IObservableCache object that fired the event. |
CacheEventType | type | This event's type. |
object | key | The key into the cache. |
object | valueOld | The old value. |
object | valueNew | The new value. |
bool | isSynthetic | true if the event is caused by the cache internal processing such as eviction or loading. |
IFilter[] | filters | An array of filters caused this event. |
Fields
m_event
The Filter event.
Declaration
protected CacheEventArgs m_event
Field Value
Type | Description |
---|---|
CacheEventArgs |
m_filters
Filters that caused the event.
Declaration
protected IFilter[] m_filters
Field Value
Type | Description |
---|---|
IFilter[] |
Properties
Event
Return the FilterEventArgs.
Declaration
public virtual CacheEventArgs Event { get; set; }
Property Value
Type | Description |
---|---|
CacheEventArgs | A FilterEventArgs. |
Filters
Return an array of filters that are the cause of this event.
Declaration
public virtual IFilter[] Filters { get; }
Property Value
Type | Description |
---|---|
IFilter[] | An array of filters. |
Key
Returns the filter event key.
Declaration
public override object Key { get; }
Property Value
Type | Description |
---|---|
object | The event key. |
Overrides
NewValue
Returns the filter event new value.
Declaration
public override object NewValue { get; }
Property Value
Type | Description |
---|---|
object | The old value. |
Overrides
OldValue
Returns the filter event old value.
Declaration
public override object OldValue { get; }
Property Value
Type | Description |
---|---|
object | The old value. |