IGemFireCache Interface |
Namespace: GemStone.GemFire.Cache.Generic
The IGemFireCache 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.
(Inherited from IRegionService.) |
![]() | Name |
Returns the name of this cache.
|
Name | Description | |
---|---|---|
![]() | Close |
Terminates this object cache and releases all the local resources.
If RegionService is created from [!:Cache.CreateAuthenticatedView], then it clears user related security data.
(Inherited from IRegionService.) |
![]() | 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
(Inherited from IRegionService.) |
![]() | 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.
(Inherited from IRegionService.) |
![]() | GetRegionTKey, TValue |
Returns an existing region given the full path from root, or null
if no such region exists.
(Inherited from IRegionService.) |
![]() | InitializeDeclarativeCache |
Initializes the cache from an XML file.
|
![]() | RootRegionsTKey, TValue |
Returns an array of root regions in the cache. This set is a
snapshot and is not backed by the cache.
(Inherited from IRegionService.) |
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.