|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface ConnectionMonitorMBean
This is the interface for the ConnectionMonitor for the use of this
class as MBean. You can monitor DB connections with it and ask the class for
open connections.
Note: Since 1.4.2 this class was moved from package "patterntesting.runtime.db" to here.
| Method Summary | |
|---|---|
StackTraceElement[] |
getCallers()
Gets the caller of all connections. |
TabularData |
getCallerStacktraces()
Gets the caller stacktraces of all connections. |
int |
getClosedConnections()
Gets the closed connections. |
StackTraceElement |
getLastCaller()
Gets the caller which opens the last connection. |
StackTraceElement[] |
getLastCallerStacktrace()
Gets the stacktrace of the caller which opens the last connection. |
int |
getOpenConnections()
Gets the number of open connections. |
int |
getSumOfConnections()
Gets the total sum of open and closed connections. |
| Method Detail |
|---|
@Description(value="get the caller of the open connections") StackTraceElement[] getCallers()
@Description(value="get the caller of the open connections")
TabularData getCallerStacktraces()
throws OpenDataException
OpenDataException - the open data exception@Description(value="get the caller of the last open connection") StackTraceElement getLastCaller()
@Description(value="get the call stacktrace of the last open connection") StackTraceElement[] getLastCallerStacktrace()
@Description(value="get the number of open connections") int getOpenConnections()
Note: Till 1.4.0 this method was named "getCount()".
@Description(value="get the number of closed connections") int getClosedConnections()
@Description(value="get the total sum of open and closed connections") int getSumOfConnections()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||