public interface CacheManagerMBean
Modifier and Type | Method and Description |
---|---|
long |
getAllocatedEntries()
Get the number of entries currently allocated in the cache.
|
boolean |
getCollectAccessCounts()
Check if collection of cache access counts is enabled.
|
long |
getEvictionCount()
Get the number of cached objects that have been evicted from the
cache in order to make room for other objects.
|
long |
getHitCount()
Get the number of cache accesses where the requested object was
already in the cache.
|
long |
getMaxEntries()
Get the maximum number of entries that could be held by this cache.
|
long |
getMissCount()
Get the number of cache accesses where the requested object was
not already in the cache.
|
long |
getUsedEntries()
Get the number of objects that are currently in the cache.
|
void |
setCollectAccessCounts(boolean collect)
Enable or disable collection of cache access counts.
|
void setCollectAccessCounts(boolean collect)
collect
- true
if access counts should be collected, or
false
otherwisegetCollectAccessCounts()
,
getHitCount()
,
getMissCount()
,
getEvictionCount()
boolean getCollectAccessCounts()
true
if access counts are enabled,
false
otherwisesetCollectAccessCounts(boolean)
long getHitCount()
long getMissCount()
long getEvictionCount()
long getMaxEntries()
long getAllocatedEntries()
long getUsedEntries()
Apache Derby 10.13 API Documentation - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.