Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/backend/Credentials.java @ 8485:026f4c684ee5
Make maxWait configurable and wait for 30 seconds
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Fri, 28 Nov 2014 16:34:40 +0100 |
parents | c5a7aae52396 |
children |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/backend/Credentials.java Fri Nov 28 10:21:40 2014 +0100 +++ b/backend/src/main/java/org/dive4elements/river/backend/Credentials.java Fri Nov 28 16:34:40 2014 +0100 @@ -17,6 +17,7 @@ protected String url; protected String connectionInitSqls; protected String validationQuery; + protected String maxWait; protected Class [] classes; public Credentials() { @@ -30,6 +31,7 @@ String url, String connectionInitSqls, String validationQuery, + String maxWait, Class [] classes ) { this.user = user; @@ -39,6 +41,7 @@ this.url = url; this.connectionInitSqls = connectionInitSqls; this.validationQuery = validationQuery; + this.maxWait = maxWait; this.classes = classes; } @@ -90,6 +93,14 @@ this.validationQuery = validationQuery; } + public String getMaxWait() { + return maxWait; + } + + public void setMaxWait(String maxWait) { + this.maxWait = maxWait; + } + public String getConnectionInitSqls() { return connectionInitSqls; }