KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > cms > cache > ManageableCacheManagerMBean


1 package info.magnolia.cms.cache;
2
3 /**
4  * The JMX Standard MBean management interface for <code>ManageableCacheManager</code>. TODO maybe add persistent
5  * enable() and disable() methods that modify the "active" property in the repository.
6  * @author Andreas Brenk
7  * @author Fabrizio Giustina
8  * @since 3.0
9  */

10 public interface ManageableCacheManagerMBean {
11
12     void flushAll();
13
14     int getCacheHits();
15
16     int getCacheMisses();
17
18     int getCachePuts();
19
20     boolean isEnabled();
21
22     boolean isPaused();
23
24     boolean isRunning();
25
26     boolean isStarted();
27
28     void pause();
29
30     void resetStatistics();
31
32     void restart();
33
34     void resume();
35
36     void start();
37
38     void stop();
39 }
40
Popular Tags