Provides a distributed cache.
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.5.0.1
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. @cacheserver This system tells the cache where to find other caches on the network and how to communicate with them. @endcacheserver
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
GemStone.GemFire.Cache.Internal..::SBWrap<gemfire::Cache>
GemStone.GemFire.Cache..::Cache
GemStone.GemFire.Cache.Internal..::SBWrap<gemfire::Cache>
GemStone.GemFire.Cache..::Cache
See Also
Cache Members
GemStone.GemFire.Cache Namespace