Class CacheEventDescriptor
Instance of this class holds the link to the registered delegate.
Use it to unregister the registered delegate when required.
The bool Is
Inheritance
Assembly: Alachisoft.NCache.Client.dll
Syntax
public sealed class CacheEventDescriptor
Properties
CacheDataNotificationCallback
Delegate that triggers when any data changes in the cache.
Declaration
public CacheDataNotificationCallback CacheDataNotificationCallback { get; }
Property Value
Type | Description |
---|---|
Cache |
A delegate that triggers when any data changes in the cache. |
CacheName
Name against which the cache is registered.
Declaration
public string CacheName { get; }
Property Value
Type | Description |
---|---|
System. |
Name of the cache. |
DataFilter
Gets data filter.
Declaration
public EventDataFilter DataFilter { get; }
Property Value
Type | Description |
---|---|
Event |
This property specifies how much data should be retrieved from the cache when a notification is raised. |
IsRegistered
Returns true if the linked event delegate is registered, returns false when the descriptor has been consumed. This property is ThreadSafe.
Declaration
public bool IsRegistered { get; }
Property Value
Type | Description |
---|---|
System. |
Specifies a boolean value, either true or false. |
RegisteredAgainst
The property against which the event types are registered.
Declaration
public EventType RegisteredAgainst { get; set; }
Property Value
Type | Description |
---|---|
Event |
This property specifies the type against which the event is raised. |