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

Class CacheCollection

Represents a collection of the caches initialized within the same application domain.

Inheritance
System.Object
CacheCollection
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class CacheCollection : IEnumerable
Remarks

An instance of this class can not be created. The class implements the IEnumerable interface.

Constructors

CacheCollection(StringComparer)

Creates a CacheCollection instance with the provided StringComparer.

Declaration
public CacheCollection(StringComparer invariantCultureIgnoreCase)
Parameters
Type Name Description
System.StringComparer invariantCultureIgnoreCase

StringComparer to be used by the cache collection for GetHashCode implementations.

Properties

Count

The count of the caches contained in the collection.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

Item[String]

Gets the cache instance from the collection for the specified key.

Declaration
public ICache this[string cacheId] { get; }
Parameters
Type Name Description
System.String cacheId

The cache id that uniquely identifies each cache instance.

Property Value
Type Description
ICache

This interface contains the services and methods that are used to perform operations on the cache.

Methods

GetEnumerator()

Returns an interface which iterates over existing caches.

Declaration
public IEnumerator GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

An System.Collections.IDictionaryEnumerator for the Alachisoft.NCache.Client.CacheCollection.

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