X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=test%2Fenterprise%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Ftest%2Fpersistence%2FDatabase.java;h=6627343294affe0b49ef6421a012e2ee3a184a5c;hb=83898516d61bfcd1f4e3a3ea79bb56f3877f4900;hp=da8ff158ab0e6160f6a5db1174f5d9229503436e;hpb=a1ab1a2e44c95cc10ad4c4d15420b49e3744d93b;p=utils diff --git a/test/enterprise/src/main/java/org/wamblee/test/persistence/Database.java b/test/enterprise/src/main/java/org/wamblee/test/persistence/Database.java index da8ff158..66273432 100755 --- a/test/enterprise/src/main/java/org/wamblee/test/persistence/Database.java +++ b/test/enterprise/src/main/java/org/wamblee/test/persistence/Database.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.test.persistence; import javax.sql.DataSource; @@ -29,13 +29,14 @@ public interface Database { * 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. + * Gets the number of active connections from the pool. This is useful for + * determining resource leaks. + * + * @return Active connections. */ - int getActiveConnections(); + int getActiveConnections(); /** * Gets the Jdbc Url to connect to this database.