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.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
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.