com.ibm.websphere.cache
Class DynamicCacheAccessor

java.lang.Object
  |
  +--com.ibm.websphere.cache.DynamicCacheAccessor

public class DynamicCacheAccessor
extends java.lang.Object

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()
          This obtains a reference to the dynamic cache.
static boolean isCachingEnabled()
          This determines if caching is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicCacheAccessor

public DynamicCacheAccessor()
Method Detail

getCache

public static Cache getCache()
This obtains a reference to the dynamic cache.
Returns:
Reference to the cache or null if caching is disabled

isCachingEnabled

public static boolean isCachingEnabled()
This determines if caching is enabled.
Returns:
true if caching is enabled, false if it is disabled.