com.ibm.btt.bc.common.pool
Class PoolProperty
java.lang.Object
org.apache.commons.pool.impl.GenericObjectPool.Config
com.ibm.btt.bc.common.pool.PoolProperty
public class PoolProperty
- extends org.apache.commons.pool.impl.GenericObjectPool.Config
BTT common pool property bean
Fields inherited from class org.apache.commons.pool.impl.GenericObjectPool.Config |
maxActive, maxIdle, maxWait, minEvictableIdleTimeMillis, minIdle, numTestsPerEvictionRun, softMinEvictableIdleTimeMillis, testOnBorrow, testOnReturn, testWhileIdle, timeBetweenEvictionRunsMillis, whenExhaustedAction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoolProperty
public PoolProperty()
getMaxActive
public int getMaxActive()
setMaxActive
public void setMaxActive(int maxActive)
getMaxIdle
public int getMaxIdle()
setMaxIdle
public void setMaxIdle(int maxIdle)
getMaxWait
public long getMaxWait()
setMaxWait
public void setMaxWait(long maxWait)
getMinEvictableIdleTimeMillis
public long getMinEvictableIdleTimeMillis()
setMinEvictableIdleTimeMillis
public void setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis)
getMinIdle
public int getMinIdle()
setMinIdle
public void setMinIdle(int minIdle)
getNumTestsPerEvictionRun
public int getNumTestsPerEvictionRun()
setNumTestsPerEvictionRun
public void setNumTestsPerEvictionRun(int numTestsPerEvictionRun)
getSoftMinEvictableIdleTimeMillis
public long getSoftMinEvictableIdleTimeMillis()
setSoftMinEvictableIdleTimeMillis
public void setSoftMinEvictableIdleTimeMillis(long softMinEvictableIdleTimeMillis)
isTestOnBorrow
public boolean isTestOnBorrow()
setTestOnBorrow
public void setTestOnBorrow(boolean testOnBorrow)
isTestOnReturn
public boolean isTestOnReturn()
setTestOnReturn
public void setTestOnReturn(boolean testOnReturn)
isTestWhileIdle
public boolean isTestWhileIdle()
setTestWhileIdle
public void setTestWhileIdle(boolean testWhileIdle)
getTimeBetweenEvictionRunsMillis
public long getTimeBetweenEvictionRunsMillis()
setTimeBetweenEvictionRunsMillis
public void setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis)
getWhenExhaustedAction
public byte getWhenExhaustedAction()
setWhenExhaustedAction
public void setWhenExhaustedAction(byte whenExhaustedAction)
(c) Copyright IBM Corporation 1998, 2011