KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > management > exposed > SessionsProductMBean


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.management.exposed;
5
6 import javax.management.openmbean.OpenDataException JavaDoc;
7 import javax.management.openmbean.TabularData JavaDoc;
8
9 import com.tc.management.TerracottaMBean;
10
11 public interface SessionsProductMBean extends TerracottaMBean {
12   
13   int getRequestCount();
14   
15   int getRequestCountPerSecond();
16   
17   int getSessionsCreatedPerMinute();
18   
19   int getSessionsExpiredPerMinute();
20   
21   int getSessionWritePercentage();
22
23   TabularData JavaDoc getTop10ClassesByObjectCreationCount() throws OpenDataException JavaDoc;
24   
25   void expireSession(String JavaDoc sessionId);
26   
27 }
28
Popular Tags