org.objectweb.speedo.jmx.mbeans
Class Cache

java.lang.Object
  extended by org.objectweb.speedo.jmx.mbeans.Cache
All Implemented Interfaces:
CacheMBean

public class Cache
extends java.lang.Object
implements CacheMBean

Author:
chassase

Constructor Summary
Cache(CacheAttributeController ca, UnbindManager um, CacheManager cm, JDOPOManagerFactoryItf pmf, JormFactory jf)
           
 
Method Summary
 void evictAll()
           
 void evictAll(java.lang.String classname, boolean subclass)
           
 java.lang.String getCache_AutoCleanSize()
           
 java.lang.String getCache_AutoCleanThreshold()
           
 int getCache_CurrentSize()
           
 int getCache_MaxObjects()
           
 java.util.Collection getCache_ObjectIdentifiers()
           
 void pinAll(java.lang.String classname, boolean subclass)
           
 void setCache_AutoCleanSize(java.lang.String size)
           
 void setCache_AutoCleanThreshold(java.lang.String size)
           
 void setCache_MaxObjects(int size)
           
 void unpinAll(java.lang.String classname, boolean subclass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cache

public Cache(CacheAttributeController ca,
             UnbindManager um,
             CacheManager cm,
             JDOPOManagerFactoryItf pmf,
             JormFactory jf)
Method Detail

getCache_AutoCleanSize

public java.lang.String getCache_AutoCleanSize()
Specified by:
getCache_AutoCleanSize in interface CacheMBean

getCache_AutoCleanThreshold

public java.lang.String getCache_AutoCleanThreshold()
Specified by:
getCache_AutoCleanThreshold in interface CacheMBean

getCache_ObjectIdentifiers

public java.util.Collection getCache_ObjectIdentifiers()
Specified by:
getCache_ObjectIdentifiers in interface CacheMBean

getCache_CurrentSize

public int getCache_CurrentSize()
Specified by:
getCache_CurrentSize in interface CacheMBean

getCache_MaxObjects

public int getCache_MaxObjects()
Specified by:
getCache_MaxObjects in interface CacheMBean

setCache_AutoCleanSize

public void setCache_AutoCleanSize(java.lang.String size)
Specified by:
setCache_AutoCleanSize in interface CacheMBean

setCache_AutoCleanThreshold

public void setCache_AutoCleanThreshold(java.lang.String size)
Specified by:
setCache_AutoCleanThreshold in interface CacheMBean

setCache_MaxObjects

public void setCache_MaxObjects(int size)
                         throws java.lang.IllegalArgumentException,
                                CacheException
Specified by:
setCache_MaxObjects in interface CacheMBean
Throws:
java.lang.IllegalArgumentException
CacheException

evictAll

public void evictAll(java.lang.String classname,
                     boolean subclass)
Specified by:
evictAll in interface CacheMBean

evictAll

public void evictAll()
Specified by:
evictAll in interface CacheMBean

pinAll

public void pinAll(java.lang.String classname,
                   boolean subclass)
Specified by:
pinAll in interface CacheMBean

unpinAll

public void unpinAll(java.lang.String classname,
                     boolean subclass)
Specified by:
unpinAll in interface CacheMBean