|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.admin.JCSAdminBean
public class JCSAdminBean
A servlet which provides HTTP access to JCS. Allows a summary of regions to be viewed, and removeAll to be run on individual regions or all regions. Also provides the ability to remove items (any number of key arguments can be provided with action 'remove'). Should be initialized with a properties file that provides at least a classpath resource loader.
Constructor Summary | |
---|---|
JCSAdminBean()
|
Method Summary | |
---|---|
java.util.LinkedList |
buildCacheInfo()
Builds up data on every region. |
java.util.LinkedList |
buildElementInfo(java.lang.String cacheName)
Builds up info about each element in a region. |
void |
clearAllRegions()
Clears all regions in the cache. |
void |
clearRegion(java.lang.String cacheName)
Clears a particular cache region. |
int |
getByteCount(CompositeCache cache)
Tries to estimate how much data is in a region. |
void |
removeItem(java.lang.String cacheName,
java.lang.String key)
Removes a particular item from a particular region. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCSAdminBean()
Method Detail |
---|
public java.util.LinkedList buildElementInfo(java.lang.String cacheName) throws java.lang.Exception
cacheName
-
java.lang.Exception
public java.util.LinkedList buildCacheInfo() throws java.lang.Exception
java.lang.Exception
public int getByteCount(CompositeCache cache) throws java.lang.Exception
cache
-
java.lang.Exception
public void clearAllRegions() throws java.io.IOException
java.io.IOException
public void clearRegion(java.lang.String cacheName) throws java.io.IOException
cacheName
-
java.io.IOException
public void removeItem(java.lang.String cacheName, java.lang.String key) throws java.io.IOException
cacheName
- key
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |