01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.stats;
05:
06: import com.tc.management.TerracottaMBean;
07: import com.tc.object.ObjectID;
08: import com.tc.objectserver.api.NoSuchObjectException;
09: 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;
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 GC_COMPLETED = "dso.gc.completed";
25:
26: static final String ROOT_ADDED = "dso.root.added";
27:
28: ObjectName[] getRoots();
29:
30: LockMBean[] getLocks();
31:
32: static final String CLIENT_ATTACHED = "dso.client.attached";
33: static final String CLIENT_DETACHED = "dso.client.detached";
34:
35: ObjectName[] getClients();
36:
37: DSOClassInfo[] getClassInfo();
38:
39: DeadlockChain[] scanForDeadLocks();
40:
41: ManagedObjectFacade lookupFacade(ObjectID objectID, int limit)
42: throws NoSuchObjectException;
43:
44: }
|