public class DbcpSetting
extends com.nlf.dao.setting.AbstractDbSetting
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_TYPE
默认连接类型
|
| 构造器和说明 |
|---|
DbcpSetting() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getInitialSize() |
int |
getMaxActive() |
long |
getMaxWait() |
long |
getMinEvictableIdleTimeMillis() |
int |
getMinIdle() |
long |
getTimeBetweenEvictionRunsMillis() |
boolean |
isPoolPreparedStatements() |
boolean |
isTestOnBorrow() |
boolean |
isTestOnReturn() |
boolean |
isTestWhileIdle() |
void |
setInitialSize(int initialSize) |
void |
setMaxActive(int maxActive) |
void |
setMaxWait(long maxWait) |
void |
setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis) |
void |
setMinIdle(int minIdle) |
void |
setPoolPreparedStatements(boolean poolPreparedStatements) |
void |
setTestOnBorrow(boolean testOnBorrow) |
void |
setTestOnReturn(boolean testOnReturn) |
void |
setTestWhileIdle(boolean testWhileIdle) |
void |
setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis) |
public int getInitialSize()
public void setInitialSize(int initialSize)
public int getMinIdle()
public void setMinIdle(int minIdle)
public int getMaxActive()
public void setMaxActive(int maxActive)
public long getMaxWait()
public void setMaxWait(long maxWait)
public long getTimeBetweenEvictionRunsMillis()
public void setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis)
public long getMinEvictableIdleTimeMillis()
public void setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis)
public boolean isTestWhileIdle()
public void setTestWhileIdle(boolean testWhileIdle)
public boolean isTestOnBorrow()
public void setTestOnBorrow(boolean testOnBorrow)
public boolean isTestOnReturn()
public void setTestOnReturn(boolean testOnReturn)
public boolean isPoolPreparedStatements()
public void setPoolPreparedStatements(boolean poolPreparedStatements)
Copyright © 2018. All Rights Reserved.