org.apache.jcs.access.monitor
Class MonitorAccess

java.lang.Object
  extended byorg.apache.jcs.access.monitor.MonitorAccess
All Implemented Interfaces:
java.io.Serializable

public class MonitorAccess
extends java.lang.Object
implements java.io.Serializable

Exposes the simple monitoring methods to the public in a simple manner.

See Also:
Serialized Form

Field Summary
protected  CompositeCacheManager cacheMgr
          Description of the Field
 
Constructor Summary
MonitorAccess()
          Constructor for the MonitorAccess object
 
Method Summary
 java.lang.String delete(java.lang.String cacheName, java.lang.String key)
          Removes all.
 java.util.ArrayList overview()
          Gives basic info on all the regions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cacheMgr

protected CompositeCacheManager cacheMgr
Description of the Field

Constructor Detail

MonitorAccess

public MonitorAccess()
Constructor for the MonitorAccess object

Method Detail

delete

public java.lang.String delete(java.lang.String cacheName,
                               java.lang.String key)
Removes all.

Parameters:
cacheName -
key -
Returns:

overview

public java.util.ArrayList overview()
Gives basic info on all the regions. Better to use getStats.

Returns:
list of hashtables with keys (name,size,stat)


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.