Cache Class |
Namespace: GemStone.GemFire.Cache.Generic
The Cache type exposes the following members.
Name | Description | |
---|---|---|
![]() | CacheTransactionManager |
Returns the cache transaction manager of
[!:CacheFactory.Create] this cache.
|
![]() | DistributedSystem |
Returns the distributed system used to
[!:CacheFactory.Create] this cache.
|
![]() | IsClosed |
True if this cache has been closed.
|
![]() | Name |
Returns the name of this cache.
|
Name | Description | |
---|---|---|
![]() | Close |
Terminates this object cache and releases all the local resources.
|
![]() | Close(Boolean) |
Terminates this object cache and releases all the local resources.
|
![]() | CreateAuthenticatedView(PropertiesString, Object) | |
![]() | CreateAuthenticatedView(PropertiesString, Object, String) | |
![]() | CreatePdxInstanceFactory |
Returns a factory that can create a {@link PdxInstance}.
@param className the fully qualified class name that the PdxInstance will become
when it is fully deserialized.
@return the factory
|
![]() | CreateRegionTKey, TValue | |
![]() | CreateRegionFactory |
Returns the instance of RegionFactory to create the region
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPdxIgnoreUnreadFields |
Returns whether Cache saves unread fields for Pdx types.
|
![]() | GetPdxReadSerialized |
Returns whether { @link PdxInstance} is preferred for PDX types instead of .NET object.
|
![]() | GetQueryServiceTKey, TResult |
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)
|
![]() | GetQueryServiceTKey, TResult(String) |
Get a query service object to be able to query the cache.
Use only when Cache has more than one Pool.
|
![]() | GetRegionTKey, TValue |
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 |
Initializes the cache from an XML file.
|
![]() | ReadyForEvents |
Send the client-ready message to the server for a durable client.
|
![]() | RootRegionsTKey, TValue |
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.) |
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.