01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.management.beans;
06:
07: import java.util.Collection;
08:
09: public interface LockStatisticsMonitorMBean {
10:
11: public Collection getTopHeld(int n);
12:
13: public Collection getTopAggregateLockHolderStats(int n);
14:
15: public Collection getTopRequested(int n);
16:
17: public Collection getTopWaitingLocks(int n);
18:
19: public Collection getTopAggregateWaitingLocks(int n);
20:
21: public Collection getTopContendedLocks(int n);
22:
23: public Collection getTopLockHops(int n);
24:
25: public Collection getStackTraces(String lockID);
26:
27: public void enableClientStackTrace(String lockID);
28:
29: public void enableClientStackTrace(String lockID,
30: int stackTraceDepth, int statCollectFrequency);
31:
32: public void disableClientStackTrace(String lockID);
33:
34: public boolean isClientStackTraceEnabled(String lockID);
35:
36: public void setLockStatisticsEnabled(boolean lockStatsEnabled);
37:
38: public boolean isLockStatisticsEnabled();
39: }
|