public class ProxyCacheAdmin extends AbstractManagedObject implements ProxyCacheMXBean
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Clears the cache.
|
void |
clearCacheByPattern(java.lang.String hostRegexp,
java.lang.String urlRegexp)
Clears the cache by regexp patterns.
|
void |
clearExpires()
Clears the cache expires.
|
CacheItem[] |
getCacheableEntries(int max)
Return most used cacheable connections.
|
double |
getCacheableRate()
Returns the cacheable rate
|
CacheItem[] |
getCachedEntries(int max)
Return most used cached connections.
|
long |
getHitCountTotal()
Returns the proxy cache hit count.
|
long |
getInvocationHitCountTotal()
Returns the invocation hit count
|
long |
getInvocationMissCountTotal()
Returns the invocation miss count
|
long |
getMissCountTotal()
Returns the proxy cache miss count.
|
double |
getMissRate()
Returns the proxy cache miss count.
|
java.lang.String |
getName()
The JMX name property of the mbean.
|
java.lang.String |
getType()
The JMX type of this MBean, defaults to the prefix of the FooMXBean..
|
CacheItem[] |
getUncacheableEntries(int max)
Return most used uncacheable connections.
|
CacheItem[] |
getUncachedEntries(int max)
Return most used uncached connections.
|
addObjectNameProperties, getObjectName, registerSelf, toString, unregisterSelfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetObjectNamepublic java.lang.String getName()
AbstractManagedObjectgetName in interface ManagedObjectMXBeangetName in class AbstractManagedObjectpublic java.lang.String getType()
AbstractManagedObjectgetType in interface ManagedObjectMXBeangetType in class AbstractManagedObjectpublic long getHitCountTotal()
getHitCountTotal in interface ProxyCacheMXBeanpublic long getMissCountTotal()
getMissCountTotal in interface ProxyCacheMXBeanpublic double getMissRate()
ProxyCacheMXBeangetMissRate in interface ProxyCacheMXBeanpublic long getInvocationHitCountTotal()
ProxyCacheMXBeangetInvocationHitCountTotal in interface ProxyCacheMXBeanpublic long getInvocationMissCountTotal()
ProxyCacheMXBeangetInvocationMissCountTotal in interface ProxyCacheMXBeanpublic double getCacheableRate()
ProxyCacheMXBeangetCacheableRate in interface ProxyCacheMXBeanpublic void clearCache()
clearCache in interface ProxyCacheMXBeanpublic void clearCacheByPattern(java.lang.String hostRegexp,
java.lang.String urlRegexp)
clearCacheByPattern in interface ProxyCacheMXBeanhostRegexp - the regexp to match the host. Null matches all.urlRegexp - the regexp to match the url. Null matches all.public void clearExpires()
clearExpires in interface ProxyCacheMXBeanpublic CacheItem[] getCacheableEntries(int max)
ProxyCacheMXBeangetCacheableEntries in interface ProxyCacheMXBeanpublic CacheItem[] getUncacheableEntries(int max)
ProxyCacheMXBeangetUncacheableEntries in interface ProxyCacheMXBeanpublic CacheItem[] getCachedEntries(int max)
ProxyCacheMXBeangetCachedEntries in interface ProxyCacheMXBeanpublic CacheItem[] getUncachedEntries(int max)
ProxyCacheMXBeangetUncachedEntries in interface ProxyCacheMXBean