Package com.logicaldoc.core.util
Class DbcpConfig
java.lang.Object
com.logicaldoc.core.util.DbcpConfig
Configuration bean for DBCP
- Since:
- 8.2
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
long
getUrl()
boolean
boolean
void
setConnectionInitSqls
(String connectionInitSqls) void
setDriverClassName
(String driverClassName) void
setInitialSize
(int initialSize) void
setMaxIdle
(int maxIdle) void
setMaxTotal
(int maxTotal) void
setNumTestsPerEvictionRun
(int numTestsPerEvictionRun) void
setPassword
(String password) void
setTestOnBorrow
(boolean testOnBorrow) void
setTestWhileIdle
(boolean testWhileIdle) void
setTimeBetweenEvictionRunsMillis
(long timeBetweenEvictionRunsMillis) void
void
setUsername
(String username) void
setValidationQuery
(String validationQuery)
-
Constructor Details
-
DbcpConfig
public DbcpConfig()
-
-
Method Details
-
getDriverClassName
-
getMaxTotal
public int getMaxTotal() -
getMaxIdle
public int getMaxIdle() -
getInitialSize
public int getInitialSize() -
isTestOnBorrow
public boolean isTestOnBorrow() -
getTimeBetweenEvictionRunsMillis
public long getTimeBetweenEvictionRunsMillis() -
getNumTestsPerEvictionRun
public int getNumTestsPerEvictionRun() -
isTestWhileIdle
public boolean isTestWhileIdle() -
getPassword
-
getUrl
-
getValidationQuery
-
setDriverClassName
-
setMaxTotal
public void setMaxTotal(int maxTotal) -
setMaxIdle
public void setMaxIdle(int maxIdle) -
setInitialSize
public void setInitialSize(int initialSize) -
setTestOnBorrow
public void setTestOnBorrow(boolean testOnBorrow) -
setTimeBetweenEvictionRunsMillis
public void setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis) -
setNumTestsPerEvictionRun
public void setNumTestsPerEvictionRun(int numTestsPerEvictionRun) -
setTestWhileIdle
public void setTestWhileIdle(boolean testWhileIdle) -
setPassword
-
setUrl
-
setValidationQuery
-
getUsername
-
setUsername
-
getConnectionInitSqls
-
setConnectionInitSqls
-