A factory class that must be used to obtain instances of Cache.

Namespace: GemStone.GemFire.Cache
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.5.0.1

Syntax

C#
public static class CacheFactory
Visual Basic (Declaration)
Public NotInheritable Class CacheFactory
Visual C++
public ref class CacheFactory abstract sealed

Remarks

To create a new cache instance, use Create(String, DistributedSystem).

To get an existing unclosed cache instance, use GetInstance(DistributedSystem).

An instance of DistributedSystem is required to obtain a cache instance from this factory. Because DistributedSystem only allows a single instance of itself per process, you can only have a single open cache, per process.

Inheritance Hierarchy

System..::Object
  GemStone.GemFire.Cache..::CacheFactory

See Also