1 4 package org.objectweb.speedo.jmx.mbeans; 5 6 import org.objectweb.perseus.cache.api.CacheException; 7 8 import java.util.Collection ; 9 10 15 public interface CacheMBean { 16 17 String getCache_AutoCleanSize(); 18 19 String getCache_AutoCleanThreshold(); 20 21 Collection getCache_ObjectIdentifiers(); 22 23 int getCache_CurrentSize(); 24 25 int getCache_MaxObjects(); 26 27 void setCache_AutoCleanSize(String size); 28 29 void setCache_AutoCleanThreshold(String size); 30 31 void setCache_MaxObjects(int size) throws IllegalArgumentException , 32 CacheException; 33 34 void pinAll(String classname, boolean subclass); 35 36 void unpinAll(String classname, boolean subclass); 37 38 void evictAll(String classname, boolean subclass); 39 40 void evictAll(); 41 } 42 | Popular Tags |