Provides a distributed cache.

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

Syntax

C#
public sealed class Cache : [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Cache>], IGemFireCache
Visual Basic (Declaration)
Public NotInheritable Class Cache _
	Inherits [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Cache>] _
	Implements IGemFireCache
Visual C++
public ref class Cache sealed : public [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Cache>], 
	IGemFireCache

Remarks

Caches are obtained from Create methods on the Create()() class.

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

System..::Object
  [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Cache>]
    GemStone.GemFire.Cache.Generic..::Cache

See Also