Provides a distributed cache.

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

Syntax

C#
public sealed class Cache : SBWrap<gemfire::Cache>
Visual Basic (Declaration)
Public NotInheritable Class Cache _
	Inherits SBWrap<gemfire::Cache>
Visual C++
public ref class Cache sealed : public SBWrap<gemfire::Cache>

Remarks

Caches are obtained from static methods on the CacheFactory class.

When a cache is created a DistributedSystem must be specified.

When a cache will no longer be used, call Close()(). Once it IsClosed any attempt to use it will cause a CacheClosedException to be thrown.

A cache can have multiple root regions, each with a different name.

Inheritance Hierarchy

See Also

Cache Members