KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > web > tomcat > tc5 > session > JBossManagerMBean


1 /*
2  * JBoss, the OpenSource WebOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.web.tomcat.tc5.session;
8
9 import org.jboss.web.tomcat.statistics.ReplicationStatistics;
10
11 /**
12  * The MBean-interface for the ClusterManager
13  *
14  * @author Thomas Peuss <jboss@peuss.de>
15  * @version $Revision: 1.4 $
16  * @see org.jboss.ha.httpsession.server.ClusteredHTTPSessionService
17  */

18 public interface JBossManagerMBean
19 {
20    public ReplicationStatistics getReplicationStatistics();
21
22    public void resetStats();
23
24    public long timeInSecondsSinceLastReset();
25
26    public long getActiveSessionCount();
27
28    public long getRejectedSessionCount();
29
30    public long getCreatedSessionCount();
31
32    public long getExpiredSessionCount();
33
34    public String JavaDoc reportReplicationStatistics();
35 }
36
Popular Tags