|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.cache.CacheMonitor
public class CacheMonitor
This is the mechanism to provide CacheMonitor access to the current cache instances and configured cache policies.
Field Summary | |
---|---|
static int |
BALANCED
|
static int |
CACHE_TYPE_JAXRPC
|
static int |
CUSTOM
|
static java.lang.String |
DISKCACHE_MORE
|
static int |
EVICTION_NONE
|
static int |
EVICTION_RANDOM
|
static int |
EVICTION_SIZE_BASED
|
static int |
HIGH
|
static int |
LOW
|
static int |
NOT_SHARED
|
static int |
SHARED_PULL
|
static int |
SHARED_PUSH
|
static int |
SHARED_PUSH_PULL
|
Constructor Summary | |
---|---|
CacheMonitor()
|
Method Summary | |
---|---|
static Cache |
getCache(java.lang.String instanceName)
This method returns the cache instance specified by instance name. |
static java.util.ArrayList |
getCacheInstanceNames()
This method returns a list of active cache instances including both servlet cache and object cache. |
static java.util.ArrayList |
getConfigEntries()
This method returns a list of all config entries found in cachespec.xml files. |
static java.util.ArrayList |
getConfigEntries(java.lang.String instanceName)
This method returns a list of config entries specified by the cache instance. |
static java.util.ArrayList |
getConfiguredServletCacheInstanceNames()
This method returns a list of the configured servlet cache instance names. |
static java.util.ArrayList |
getPolicyServletCacheInstanceNames()
This method returns a list of cache instances which are defined in cachespec.xml files. |
static boolean |
isCachingEnabled()
This method determines if Dynamic caching (either servlet or object cache) is enabled. |
static boolean |
isObjectCachingEnabled()
This method determines if Dynamic object caching is enabled. |
static boolean |
isServletCachingEnabled()
This method 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 |
Field Detail |
---|
public static final int CACHE_TYPE_JAXRPC
public static final int NOT_SHARED
public static final int SHARED_PULL
public static final int SHARED_PUSH
public static final int SHARED_PUSH_PULL
public static final int HIGH
public static final int BALANCED
public static final int LOW
public static final int CUSTOM
public static final int EVICTION_RANDOM
public static final int EVICTION_SIZE_BASED
public static final int EVICTION_NONE
public static final java.lang.String DISKCACHE_MORE
Constructor Detail |
---|
public CacheMonitor()
Method Detail |
---|
public static boolean isCachingEnabled()
public static boolean isServletCachingEnabled()
public static boolean isObjectCachingEnabled()
public static Cache getCache(java.lang.String instanceName)
public static final java.util.ArrayList getConfiguredServletCacheInstanceNames()
public static final java.util.ArrayList getCacheInstanceNames()
public static final java.util.ArrayList getPolicyServletCacheInstanceNames()
public static final java.util.ArrayList getConfigEntries(java.lang.String instanceName)
public static final java.util.ArrayList getConfigEntries()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |