CacheEventArgs Class |
Namespace: Tangosol.Net.Cache
[SerializableAttribute] public class CacheEventArgs
The CacheEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| CacheEventArgs(IObservableCache, CacheEventType, Object, Object, Object, Boolean) |
Constructs a new CacheEventArgs.
| |
| CacheEventArgs(IObservableCache, CacheEventType, Object, Object, Object, Boolean, Boolean) |
Constructs a new CacheEventArgs.
| |
| CacheEventArgs(IObservableCache, CacheEventType, Object, Object, Object, Boolean, CacheEventArgsTransformationState, Boolean) |
Constructs a new CacheEventArgs.
|
| Name | Description | |
|---|---|---|
| Cache |
Gets the IObservableCache object on which this
event has actually occured.
| |
| EventType |
Gets this event's type.
| |
| IsPriming |
Return true if this event is a priming event.
| |
| IsSynthetic |
Return true if this event is caused by the cache internal
processing such as eviction or loading.
| |
| Key |
Gets a key associated with this event.
| |
| NewValue |
Gets a new value associated with this event.
| |
| OldValue |
Gets an old value associated with this event.
| |
| TransformState |
Return TransformationState for this event.
|
| Name | Description | |
|---|---|---|
| Dispatch |
Dispatch this event to the specified MapListener.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetDescription |
Get the event's description.
| |
| GetDescription(CacheEventType) |
Convert an event type into a human-readable string.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ShouldDispatch |
Return true if the provided ICacheListener should receive this event.
| |
| ToString |
Return a string representation of this
CacheEventArgs object.
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| m_eventType |
The event's type.
| |
| m_isPriming |
The priming event flag.
| |
| m_isSynthetic |
Event cause flag.
| |
| m_key |
A key.
| |
| m_source |
The event's source.
| |
| m_transformState |
The transformation state for this event
| |
| m_valueNew |
A new value.
| |
| m_valueOld |
A previous value.
|
A CacheEventArgs object is sent as an argument to the ICacheListener interface methods. null values may be provided for the old and the new values.