01: /**
02: * Copyright (C) 2001-2005 France Telecom R&D
03: */package org.objectweb.speedo.jmx.mbeans;
04:
05: import org.objectweb.perseus.cache.api.CacheException;
06:
07: import java.util.Collection;
08:
09: /**
10: *
11: *
12: * @author S.Chassande-Barrioz
13: */
14: public interface CacheMBean {
15:
16: String getCache_AutoCleanSize();
17:
18: String getCache_AutoCleanThreshold();
19:
20: Collection getCache_ObjectIdentifiers();
21:
22: int getCache_CurrentSize();
23:
24: int getCache_MaxObjects();
25:
26: void setCache_AutoCleanSize(String size);
27:
28: void setCache_AutoCleanThreshold(String size);
29:
30: void setCache_MaxObjects(int size) throws IllegalArgumentException,
31: CacheException;
32:
33: void pinAll(String classname, boolean subclass);
34:
35: void unpinAll(String classname, boolean subclass);
36:
37: void evictAll(String classname, boolean subclass);
38:
39: void evictAll();
40: }
|