Example usage for Java org.apache.commons.pool2.impl GenericObjectPoolConfig fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_MAX_TOTAL The default value for the maxTotal configuration attribute. |
int | DEFAULT_MAX_IDLE The default value for the maxIdle configuration attribute. |
int | DEFAULT_MIN_IDLE The default value for the minIdle configuration attribute. |
GenericObjectPoolConfig | clone() |
boolean | getBlockWhenExhausted() Get the value for the blockWhenExhausted configuration attribute for pools created with this configuration instance. |
String | getEvictionPolicyClassName() Get the value for the evictionPolicyClassName configuration attribute for pools created with this configuration instance. |
boolean | getFairness() Get the value for the fairness configuration attribute for pools created with this configuration instance. |
String | getJmxNameBase() Gets the value of the JMX name base that will be used as part of the name assigned to JMX enabled pools created with this configuration instance. |
String | getJmxNamePrefix() Gets the value of the JMX name prefix that will be used as part of the name assigned to JMX enabled pools created with this configuration instance. |
boolean | getLifo() Get the value for the lifo configuration attribute for pools created with this configuration instance. |
int | getMaxIdle() Get the value for the maxIdle configuration attribute for pools created with this configuration instance. |
int | getMaxTotal() Get the value for the maxTotal configuration attribute for pools created with this configuration instance. |
long | getMaxWaitMillis() Get the value for the maxWait configuration attribute for pools created with this configuration instance. |
long | getMinEvictableIdleTimeMillis() Get the value for the minEvictableIdleTimeMillis configuration attribute for pools created with this configuration instance. |
int | getMinIdle() Get the value for the minIdle configuration attribute for pools created with this configuration instance. |
int | getNumTestsPerEvictionRun() Get the value for the numTestsPerEvictionRun configuration attribute for pools created with this configuration instance. |
long | getSoftMinEvictableIdleTimeMillis() Get the value for the softMinEvictableIdleTimeMillis configuration attribute for pools created with this configuration instance. |
boolean | getTestOnBorrow() Get the value for the testOnBorrow configuration attribute for pools created with this configuration instance. |
boolean | getTestOnCreate() Get the value for the testOnCreate configuration attribute for pools created with this configuration instance. |
boolean | getTestOnReturn() Get the value for the testOnReturn configuration attribute for pools created with this configuration instance. |
boolean | getTestWhileIdle() Get the value for the testWhileIdle configuration attribute for pools created with this configuration instance. |
long | getTimeBetweenEvictionRunsMillis() Get the value for the timeBetweenEvictionRunsMillis configuration attribute for pools created with this configuration instance. |
void | setBlockWhenExhausted(boolean blockWhenExhausted) Set the value for the blockWhenExhausted configuration attribute for pools created with this configuration instance. |
void | setEvictionPolicyClassName(String evictionPolicyClassName) Set the value for the evictionPolicyClassName configuration attribute for pools created with this configuration instance. |
void | setFairness(boolean fairness) Set the value for the fairness configuration attribute for pools created with this configuration instance. |
void | setJmxEnabled(boolean jmxEnabled) Sets the value of the flag that determines if JMX will be enabled for pools created with this configuration instance. |
void | setJmxNameBase(String jmxNameBase) Sets the value of the JMX name base that will be used as part of the name assigned to JMX enabled pools created with this configuration instance. |
void | setJmxNamePrefix(String jmxNamePrefix) Sets the value of the JMX name prefix that will be used as part of the name assigned to JMX enabled pools created with this configuration instance. |
void | setLifo(boolean lifo) Set the value for the lifo configuration attribute for pools created with this configuration instance. |
void | setMaxIdle(int maxIdle) Set the value for the maxIdle configuration attribute for pools created with this configuration instance. |
void | setMaxTotal(int maxTotal) Set the value for the maxTotal configuration attribute for pools created with this configuration instance. |
void | setMaxWaitMillis(long maxWaitMillis) Set the value for the maxWait configuration attribute for pools created with this configuration instance. |
void | setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis) Set the value for the minEvictableIdleTimeMillis configuration attribute for pools created with this configuration instance. |
void | setMinIdle(int minIdle) Set the value for the minIdle configuration attribute for pools created with this configuration instance. |
void | setNumTestsPerEvictionRun(int numTestsPerEvictionRun) Set the value for the numTestsPerEvictionRun configuration attribute for pools created with this configuration instance. |
void | setSoftMinEvictableIdleTimeMillis(long softMinEvictableIdleTimeMillis) Set the value for the softMinEvictableIdleTimeMillis configuration attribute for pools created with this configuration instance. |
void | setTestOnBorrow(boolean testOnBorrow) Set the value for the testOnBorrow configuration attribute for pools created with this configuration instance. |
void | setTestOnCreate(boolean testOnCreate) Set the value for the testOnCreate configuration attribute for pools created with this configuration instance. |
void | setTestOnReturn(boolean testOnReturn) Set the value for the testOnReturn configuration attribute for pools created with this configuration instance. |
void | setTestWhileIdle(boolean testWhileIdle) Set the value for the testWhileIdle configuration attribute for pools created with this configuration instance. |
void | setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis) Set the value for the timeBetweenEvictionRunsMillis configuration attribute for pools created with this configuration instance. |