public class JCSAdminBean
extends java.lang.Object
| Constructor and Description |
|---|
JCSAdminBean() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.util.LinkedList buildElementInfo(java.lang.String cacheName)
throws java.lang.Exception
cacheName - java.lang.Exceptionpublic java.util.LinkedList buildCacheInfo()
throws java.lang.Exception
java.lang.Exceptionpublic int getByteCount(CompositeCache cache) throws java.lang.Exception
cache - java.lang.Exceptionpublic void clearAllRegions()
throws java.io.IOException
java.io.IOExceptionpublic void clearRegion(java.lang.String cacheName)
throws java.io.IOException
cacheName - java.io.IOExceptionpublic void removeItem(java.lang.String cacheName,
java.lang.String key)
throws java.io.IOException
cacheName - key - java.io.IOExceptionCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.