Example usage for Java org.apache.commons.pool2.impl GenericKeyedObjectPoolConfig fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_MAX_TOTAL_PER_KEY The default value for the maxTotalPerKey configuration attribute. |
int | DEFAULT_MIN_IDLE_PER_KEY The default value for the minIdlePerKey configuration attribute. |
int | DEFAULT_MAX_IDLE_PER_KEY The default value for the maxIdlePerKey configuration attribute. |
GenericKeyedObjectPoolConfig() Create a new configuration with default settings. |
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 | setMaxIdlePerKey(int maxIdlePerKey) Set the value for the maxIdlePerKey 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 | setMaxTotalPerKey(int maxTotalPerKey) Set the value for the maxTotalPerKey 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 | setMinIdlePerKey(int minIdlePerKey) Set the value for the minIdlePerKey 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. |