git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
test
/
enterprise
/
src
/
main
/
java
/
org
/
wamblee
/
support
/
persistence
/
Database.java
diff --git
a/test/enterprise/src/main/java/org/wamblee/support/persistence/Database.java
b/test/enterprise/src/main/java/org/wamblee/support/persistence/Database.java
index 987646eccae0c45262ab703240d8cb99e680a551..70ab8c5bb7b7dddb86889c6b5fd08256863f4677 100755
(executable)
--- a/
test/enterprise/src/main/java/org/wamblee/support/persistence/Database.java
+++ b/
test/enterprise/src/main/java/org/wamblee/support/persistence/Database.java
@@
-29,6
+29,13
@@
public interface Database {
* database has been started.
*/
DataSource start();
* database has been started.
*/
DataSource start();
+
+ /**
+ * Gets the number of active connections from the pool. This is useful for
+ * determining resource leaks.
+ * @return Active connections.
+ */
+ int getActiveConnections();
/**
* Gets the Jdbc Url to connect to this database.
/**
* Gets the Jdbc Url to connect to this database.