com.caucho.management.server
Interface ProxyCacheMXBean

All Superinterfaces:
ManagedObjectMXBean

public interface ProxyCacheMXBean
extends ManagedObjectMXBean

Management interface for the proxy cache.

 resin:type=ProxyCache
 


Method Summary
 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.
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getHitCountTotal

long getHitCountTotal()
Returns the proxy cache hit count.


getMissCountTotal

long getMissCountTotal()
Returns the proxy cache miss count.


getMissRate

double getMissRate()
Returns the proxy cache miss count.


getInvocationHitCountTotal

long getInvocationHitCountTotal()
Returns the invocation hit count


getInvocationMissCountTotal

long getInvocationMissCountTotal()
Returns the invocation miss count


getCacheableRate

double getCacheableRate()
Returns the cacheable rate


getCacheableEntries

CacheItem[] getCacheableEntries(int max)
Return most used cacheable connections.


getUncacheableEntries

CacheItem[] getUncacheableEntries(int max)
Return most used uncacheable connections.


getCachedEntries

CacheItem[] getCachedEntries(int max)
Return most used cached connections.


getUncachedEntries

CacheItem[] getUncachedEntries(int max)
Return most used uncached connections.


clearCache

void clearCache()
Clears the cache.


clearCacheByPattern

void clearCacheByPattern(java.lang.String hostRegexp,
                         java.lang.String urlRegexp)
Clears the cache by regexp patterns.

Parameters:
hostRegexp - the regexp to match the host. Null matches all.
urlRegexp - the regexp to match the url. Null matches all.

clearExpires

void clearExpires()
Clears the expires timers for the cache.