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

  NameDescription
Public methodCloseOverloaded.
Public methodCreateRegion
Creates a region with the given name using the specified RegionAttributes. The region is just created locally. It is not created on the server to which this client is connected with.
Public methodDeregisterRegionListener
Deregister the existing ICacheRegionListener.
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 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 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.)

Public Properties

  NameDescription
Public propertyDistributedSystem
Returns the distributed system used to Create(String, DistributedSystem) this cache.
Public propertyIsClosed
True if this cache has been closed.
Public propertyName
Returns the name of this cache.

See Also