Click or drag to resize
AuthenticatedCache Class
Provides a distributed cache.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::RegionService>]
    GemStone.GemFire.CacheAuthenticatedCache

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public class AuthenticatedCache : [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::RegionService>], 
	IRegionService

The AuthenticatedCache type exposes the following members.

Properties
  NameDescription
Public propertyIsClosed
True if this cache has been closed.
Top
Methods
  NameDescription
Public methodClose
Terminates this object cache and releases all the local resources. If Cache instance created from Pool(pool is in multiuser mode), then it reset user related security data.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetQueryService
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)
Public methodGetRegion
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.)
Top
Remarks
Caches are obtained from static methods on the [!:CacheFactory] class.

When a cache is created a DistributedSystem must be specified.

When a cache will no longer be used, call [!:Cache.Close]. Once it [!:Cache.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.

See Also