|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.management.server.AbstractManagedObject
com.caucho.server.cache.CacheAdmin
public class CacheAdmin
| 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 cache expires. |
CacheItem[] |
getCacheableEntries(int max)
Return most used cacheable connections. |
long |
getHitCountTotal()
Returns the proxy cache hit count. |
long |
getMissCountTotal()
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. |
| Methods inherited from class com.caucho.management.server.AbstractManagedObject |
|---|
addObjectNameProperties, getObjectName, registerSelf, unregisterSelf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean |
|---|
getObjectName |
| Method Detail |
|---|
public java.lang.String getName()
AbstractManagedObject
getName in interface ManagedObjectMXBeangetName in class AbstractManagedObjectpublic java.lang.String getType()
AbstractManagedObject
getType in interface ManagedObjectMXBeangetType in class AbstractManagedObjectpublic long getHitCountTotal()
getHitCountTotal in interface ProxyCacheMXBeanpublic long getMissCountTotal()
getMissCountTotal in interface ProxyCacheMXBeanpublic void clearCache()
clearCache in interface ProxyCacheMXBean
public 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)
ProxyCacheMXBean
getCacheableEntries in interface ProxyCacheMXBeanpublic CacheItem[] getUncacheableEntries(int max)
ProxyCacheMXBean
getUncacheableEntries in interface ProxyCacheMXBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||