public interface ProxyCacheMXBean extends ManagedObjectMXBean
resin:type=ProxyCache
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 expires timers for the cache.
|
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.
|
CacheItem[] |
getUncacheableEntries(int max)
Return most used uncacheable connections.
|
CacheItem[] |
getUncachedEntries(int max)
Return most used uncached connections.
|
getName, getObjectName, getType
long getHitCountTotal()
long getMissCountTotal()
double getMissRate()
long getInvocationHitCountTotal()
long getInvocationMissCountTotal()
double getCacheableRate()
CacheItem[] getCacheableEntries(int max)
CacheItem[] getUncacheableEntries(int max)
CacheItem[] getCachedEntries(int max)
CacheItem[] getUncachedEntries(int max)
void clearCache()
void clearCacheByPattern(java.lang.String hostRegexp, java.lang.String urlRegexp)
hostRegexp
- the regexp to match the host. Null matches all.urlRegexp
- the regexp to match the url. Null matches all.void clearExpires()