• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Class CacheEventDescriptor

Instance of this class holds the link to the registered delegate. Use it to unregister the registered delegate when required. The bool IsRegistered returns false when the descriptor has been consumed to unregister the delegate. This instance can then be disposed off. Upon re-registering for the interested event, a new descriptor will be created.

Inheritance
System.Object
CacheEventDescriptor
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
CacheDataNotificationCallback

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.String

Name of the cache.

DataFilter

Gets data filter.

Declaration
public EventDataFilter DataFilter { get; }
Property Value
Type Description
EventDataFilter

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.Boolean

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
EventType

This property specifies the type against which the event is raised.

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top