WebSphere:*,type=DynaCache
MBean DynaCache
Current settings for the running WebSphere Dynamic Cache (DynaCache).
Attribute Summary | |
java.lang.Integer | cacheSize The size in entries of the in-memory cache |
java.lang.Integer | usedCacheSize The number of used cache entries in the in-memory cache |
java.lang.Boolean | diskOverflow Indicates whether disk based overflow is enabled |
Attributes inherited from MBean StatisticsProvider |
stats |
Operation Summary | |
java.lang.String[] | getCacheStatisticNames() Retrieve the names of the available cache statistics. |
java.lang.String[] | getCacheStatisticNames( Retrieve the names of the available cache statistics for the specified cache instance. |
java.lang.String[] | getCacheInstanceNames() Retrieve the names of the available cache instances. |
java.lang.String[] | getAllCacheStatistics() Retrieve all of the available cache statistics for the base cache instance. |
java.lang.String[] | getAllCacheStatistics( Retrieve all of the available cache statistics for the named cache instance. |
java.lang.String[] | getCacheStatistics( Retrieve cache statistics specified by the names array for the base cache instance. |
java.lang.String[] | getCacheStatistics( Retrieve cache statistics specified by the names array for the named cache instance. |
java.lang.String[] | getCacheIDsInMemory( Retrieve all the cache ids in memory for the named cache instance that match the specified regular expression. |
java.lang.String[] | getCacheIDsOnDisk( Retrieve all cache ids on disk for the named cache instance that match the specified regular expression. |
java.lang.String | getCacheEntry( Retrieves the CacheEntry which holds metadata information for the cache id. |
java.lang.String[] | invalidateCacheIDs( Invalidates all cache entries that match the pattern mapped cache ids in the named cache instance and all cache entries dependent upon the matched entries in the instance. |
void | clearCache( Clear all cache entries for the named cache instance. |
Attribute Detail |
public java.lang.Integer cacheSize
public java.lang.Integer usedCacheSize
public java.lang.Boolean diskOverflow
Operation Detail |
public java.lang.String[] getCacheStatisticNames()
public java.lang.String[] getCacheStatisticNames(java.lang.String cacheInstance
)
cacheInstance
-
The name of the cache instance.
public java.lang.String[] getCacheInstanceNames()
public java.lang.String[] getAllCacheStatistics()
public java.lang.String[] getAllCacheStatistics(java.lang.String cacheInstance
)
cacheInstance
-
The name of the cache instance.
public java.lang.String[] getCacheStatistics(java.lang.String[] names
)
names
-
The array of cache statistic names
public java.lang.String[] getCacheStatistics(java.lang.String cacheInstance,
java.lang.String[] names
)
cacheInstance
-
The name of the cache instance.names
-
The array of cache statistic names
public java.lang.String[] getCacheIDsInMemory(java.lang.String cacheInstance,
java.lang.String pattern
)
cacheInstance
-
The name of the cache instance.pattern
-
A regular expression, specified as a string.
public java.lang.String[] getCacheIDsOnDisk(java.lang.String cacheInstance,
java.lang.String pattern
)
cacheInstance
-
The name of the cache instance.pattern
-
A regular expression, specified as a string.
public java.lang.String getCacheEntry(java.lang.String cacheInstance,
java.lang.String cacheID
)
cacheInstance
-
The name of the cache instance.cacheID
-
A cacheID typically returned by the getCacheIDsInMemory or getCacheIDsOnDisk methods.
public java.lang.String[] invalidateCacheIDs(java.lang.String cacheInstance,
java.lang.String pattern,
boolean waitOnInvalidation
)
cacheInstance
-
The name of the cache instance.pattern
-
A regular expression, specified as a string.waitOnInvalidation
-
True indicates that this method should not return until the invalidations have taken effect. False indicates that the invalidations will be queued for later batch processing. For waitOnInvalidation = true, this method will take a long time to return and potentially could lock the cache and reduce throughput. If waitOnInvalidation = false, this method returns almost immediately, and the invalidates are handled on a separate thread.
public void clearCache(java.lang.String cacheInstance
)
cacheInstance
-
The name of the cache instance.