KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > stats > DSOMBean


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.stats;
5
6 import com.tc.management.TerracottaMBean;
7 import com.tc.object.ObjectID;
8 import com.tc.objectserver.api.NoSuchObjectException;
9 import com.tc.objectserver.lockmanager.api.DeadlockChain;
10 import com.tc.objectserver.lockmanager.api.LockMBean;
11 import com.tc.objectserver.mgmt.ManagedObjectFacade;
12
13 import javax.management.ObjectName JavaDoc;
14
15 /**
16  * This describes the management interface for the DSO subsystem. It's envisioned that this acts as a top-level object
17  * aggregating statistical, configuration, and operational child interfaces.
18  */

19
20 public interface DSOMBean extends DSOStats, TerracottaMBean {
21
22   DSOStats getStats();
23
24   static final String JavaDoc GC_COMPLETED = "dso.gc.completed";
25
26   static final String JavaDoc ROOT_ADDED = "dso.root.added";
27
28   ObjectName JavaDoc[] getRoots();
29
30   LockMBean[] getLocks();
31
32   static final String JavaDoc CLIENT_ATTACHED = "dso.client.attached";
33   static final String JavaDoc CLIENT_DETACHED = "dso.client.detached";
34
35   ObjectName JavaDoc[] getClients();
36
37   DSOClassInfo[] getClassInfo();
38
39   DeadlockChain[] scanForDeadLocks();
40
41   ManagedObjectFacade lookupFacade(ObjectID objectID, int limit) throws NoSuchObjectException;
42
43 }
44
Popular Tags