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

Class ExtensibleDependency

ExtensibleDependency is an abstract class extended when Custom Dependency is required.

Inheritance
System.Object
CacheDependency
ExtensibleDependency
RemoteCacheKeyDependency
BulkExtensibleDependency
NotifyExtensibleDependency
Inherited Members
CacheDependency.sizeInBytes
CacheDependency.DEPENDENCY_TYPE_OVERHEAD
CacheDependency.DEPENDENCY_COUNT_OVERHEAD
CacheDependency.AddDependencies(CacheDependency[])
CacheDependency.Dependencies
CacheDependency.Dispose()
CacheDependency.DependencyDispose()
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public abstract class ExtensibleDependency : CacheDependency, IDisposable, IBinaryProtocolSerializable, ISerializableExtensibleDependency

Properties

HasChanged

HasChanged bool flag is set true if an item is updated and it also needs to be updated in the cache.

Declaration
public abstract bool HasChanged { get; }
Property Value
Type Description
System.Boolean

Specifies a boolean value either true, or false.

Examples
public override bool HasChanged
{
    get
    {
       if (GetAvailableUnits(_productID) == 100)
       return true;
       return false;
    }
}

Methods

Initialize()

This method initializes the ExtensibleDependency.

Declaration
public abstract bool Initialize()
Returns
Type Description
System.Boolean

True/False for successful/unsuccessful initialization.

Examples
public override bool Initialize() 
{
   _connection = new OleDbConnection(_connString);
   _connection.Open();

   return true; 
}

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