Syntax
| C# |
|---|
public sealed class Cache |
| Visual Basic (Declaration) |
|---|
Public NotInheritable Class Cache |
| Visual C++ |
|---|
public ref class Cache sealed |
The type exposes the following members.
Public Methods
| Name | Description | |
|---|---|---|
| Close | Overloaded. | |
| CreateRegion |
Creates a region with the given name using the specified
RegionAttributes.
@nativeclient
The region is just created locally. It is not created on the server
to which this client is connected with.
@endnativeclient
| |
| CreateServerRegion |
Creates a region on all servers in the server-group with the given name
and attributes.
| |
| DeregisterRegionListener |
Deregister the existing ICacheRegionListener.
| |
| DestroyServerRegion |
Destroys the named region in each of the servers in the server-group.
| |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetQueryService |
Get a query service object to be able to query the cache.
| |
| GetRegion |
Returns an existing region given the full path from root, or null
if no such region exists.
| |
| GetServerRegionAttributes |
Returns the attributes of the region on server specified by
the given path.
| |
| GetServerRegions |
Returns names of regions at the child level of parent on the
cache server. If "/" is passed as the parent, then the root
regions of the cache are returned.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeDeclarativeCache |
Initializes the cache from an XML file.
| |
| ReadyForEvents |
Send the client-ready message to the server for a durable client.
| |
| RegisterRegionListener |
Register an ICacheRegionListener.
| |
| RootRegions |
Returns an array of root regions in the cache. This set is a
snapshot and is not backed by the cache.
| |
| ServerRootRegions |
Returns the names of all root regions on the cache server.
| |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
| DistributedSystem |
Returns the distributed system used to
Create(String, DistributedSystem) this cache.
| |
| IsClosed |
True if this cache has been closed.
| |
| Name |
Returns the name of this cache.
|
See Also
GemStone.GemFire.Cache Namespace