public final class DynamicCacheAccessor
extends java.lang.Object
Constructor and Description |
---|
DynamicCacheAccessor() |
Modifier and Type | Method and Description |
---|---|
static Cache |
getCache()
Deprecated.
Use DistributedMap to store and manage objects
in cache. DynamicCacheAccessor#getDistributedMap
will return a DistributedMap for accessing
base cache.
|
static DistributedMap |
getDistributedMap()
Deprecated.
baseCache is used for servlet caching. It should not be used
as a DistributedMap.
|
static boolean |
isCachingEnabled()
This determines if Dynamic caching (either servlet or object cache) is enabled.
|
static boolean |
isObjectCachingEnabled()
This determines if Dynamic object caching is enabled.
|
static boolean |
isServletCachingEnabled()
This determines if Dynamic servlet caching is enabled.
|
public static Cache getCache()
getDistributedMap()
,
DistributedMap
public static boolean isCachingEnabled()
public static boolean isServletCachingEnabled()
public static boolean isObjectCachingEnabled()
public static DistributedMap getDistributedMap()