KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > speedo > jmx > mbeans > CacheMBean


1 /**
2  * Copyright (C) 2001-2005 France Telecom R&D
3  */

4 package org.objectweb.speedo.jmx.mbeans;
5
6 import org.objectweb.perseus.cache.api.CacheException;
7
8 import java.util.Collection JavaDoc;
9
10 /**
11  *
12  *
13  * @author S.Chassande-Barrioz
14  */

15 public interface CacheMBean {
16     
17     String JavaDoc getCache_AutoCleanSize();
18     
19     String JavaDoc getCache_AutoCleanThreshold();
20     
21     Collection JavaDoc getCache_ObjectIdentifiers();
22     
23     int getCache_CurrentSize();
24     
25     int getCache_MaxObjects();
26     
27     void setCache_AutoCleanSize(String JavaDoc size);
28     
29     void setCache_AutoCleanThreshold(String JavaDoc size);
30     
31     void setCache_MaxObjects(int size) throws IllegalArgumentException JavaDoc,
32             CacheException;
33         
34     void pinAll(String JavaDoc classname, boolean subclass);
35     
36     void unpinAll(String JavaDoc classname, boolean subclass);
37
38     void evictAll(String JavaDoc classname, boolean subclass);
39
40     void evictAll();
41 }
42
Popular Tags