Provides a distributed cache.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public sealed class Cache : [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::Cache>], 
	IGemFireCache
<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")> _
Public NotInheritable Class Cache _
	Inherits [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::Cache>] _
	Implements IGemFireCache
[ObsoleteAttribute(L"Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public ref class Cache sealed : public [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::Cache>], 
	IGemFireCache

Members

         
 All Members  Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Close()()()()
Terminates this object cache and releases all the local resources.
Close(Boolean)
Terminates this object cache and releases all the local resources.
CreateAuthenticatedView(Properties)
Returns the instance of IRegionService to do the operation on Cache with different Credential.
CreateAuthenticatedView(Properties, String)
Returns the instance of IRegionService to do the operation on Cache with different Credential.
CreateRegion(String, RegionAttributes)
CreateRegionFactory(RegionShortcut)
Returns the instance of RegionFactory to create the region
DistributedSystem
Returns the distributed system used to Create()()()() this cache.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetQueryService()()()()
Get a query service object to be able to query the cache. Supported only when cache is created from Pool(pool is in multiuserSecure mode)
GetQueryService(String)
Get a query service object to be able to query the cache. Use only when Cache has more than one Pool.
GetRegion(String)
Returns an existing region given the full path from root, or null if no such region exists.
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InitializeDeclarativeCache(String)
Initializes the cache from an XML file.
IsClosed
True if this cache has been closed.
Name
Returns the name of this cache.
ReadyForEvents()()()()
Send the client-ready message to the server for a durable client.
RootRegions()()()()
Returns an array of root regions in the cache. This set is a snapshot and is not backed by the cache.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

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.Internal.SBWrap<gemfire::Cache>]
    GemStone.GemFire.Cache..::..Cache

See Also