|
|
@@ -268,4 +268,28 @@ public class DruidDBConfiguration {
|
|
|
public void setConnectionProperties(String connectionProperties) {
|
|
|
this.connectionProperties = connectionProperties;
|
|
|
}
|
|
|
+
|
|
|
+ public boolean isRemoveAbandoned() {
|
|
|
+ return removeAbandoned;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRemoveAbandoned(boolean removeAbandoned) {
|
|
|
+ this.removeAbandoned = removeAbandoned;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getRemoveAbandonedTimeout() {
|
|
|
+ return removeAbandonedTimeout;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRemoveAbandonedTimeout(int removeAbandonedTimeout) {
|
|
|
+ this.removeAbandonedTimeout = removeAbandonedTimeout;
|
|
|
+ }
|
|
|
+
|
|
|
+ public boolean isLogAbandoned() {
|
|
|
+ return logAbandoned;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setLogAbandoned(boolean logAbandoned) {
|
|
|
+ this.logAbandoned = logAbandoned;
|
|
|
+ }
|
|
|
}
|