|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.cache.DynamicCacheAccessor
public final class DynamicCacheAccessor
This class provides applications with access to the Dynamic Cache, allowing programmatic inspection and manipulation of WebSphere's cache.
Constructor Summary | |
---|---|
DynamicCacheAccessor()
|
Method Summary | |
---|---|
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 DistributedNioMap |
getProxyCacheInstance(java.lang.String name)
This method will return a DistributedObjectCache reference to a Proxy Server or On Demand Router's cache instance. |
static Cache |
getServletCache()
This obtains a reference to the dynamic cache. |
static ServletCache |
getServletCacheInstance(java.lang.String name)
This method will return a ServletCache reference to a servlet cache. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicCacheAccessor()
Method Detail |
---|
public static Cache getCache()
getDistributedMap()
,
DistributedMap
public static Cache getServletCache()
getDistributedMap()
,
DistributedMap
public static boolean isCachingEnabled()
public static boolean isServletCachingEnabled()
public static boolean isObjectCachingEnabled()
public static DistributedMap getDistributedMap()
public static DistributedNioMap getProxyCacheInstance(java.lang.String name)
name
- The in-memory name of the proxy's cache instance
public static ServletCache getServletCacheInstance(java.lang.String name)
name
- The jndi name of the servlet cache instance.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |