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 methods.

Public Methods

  NameDescription
Public methodCloseOverloaded.
Public methodCreateRegion
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
Public methodCreateServerRegion
Creates a region on all servers in the server-group with the given name and attributes.
Public methodDeregisterRegionListener
Deregister the existing ICacheRegionListener.
Public methodDestroyServerRegion
Destroys the named region in each of the servers in the server-group.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
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.)
Public methodGetQueryService
Get a query service object to be able to query the cache.
Public methodGetRegion
Returns an existing region given the full path from root, or null if no such region exists.
Public methodGetServerRegionAttributes
Returns the attributes of the region on server specified by the given path.
Public methodGetServerRegions
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeDeclarativeCache
Initializes the cache from an XML file.
Public methodReadyForEvents
Send the client-ready message to the server for a durable client.
Public methodRegisterRegionListener
Register an ICacheRegionListener.
Public methodRootRegions
Returns an array of root regions in the cache. This set is a snapshot and is not backed by the cache.
Public methodServerRootRegions
Returns the names of all root regions on the cache server.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

See Also