Create a new configuration with default settings.
Get the value for the {@code maxIdlePerKey} configuration attribute for pools created with this configuration instance.
Get the value for the {@code maxTotal} configuration attribute for pools created with this configuration instance.
Get the value for the {@code maxTotalPerKey} configuration attribute for pools created with this configuration instance.
Get the value for the {@code minIdlePerKey} configuration attribute for pools created with this configuration instance.
Set the value for the {@code maxIdlePerKey} configuration attribute for pools created with this configuration instance.
Set the value for the {@code maxTotal} configuration attribute for pools created with this configuration instance.
Set the value for the {@code maxTotalPerKey} configuration attribute for pools created with this configuration instance.
Set the value for the {@code minIdlePerKey} configuration attribute for pools created with this configuration instance.
The default value for the {@code maxIdlePerKey} configuration attribute. @see GenericKeyedObjectPool#getMaxIdlePerKey()
The default value for the {@code maxTotal} configuration attribute. @see GenericKeyedObjectPool#getMaxTotal()
The default value for the {@code maxTotalPerKey} configuration attribute. @see GenericKeyedObjectPool#getMaxTotalPerKey()
The default value for the {@code minIdlePerKey} configuration attribute. @see GenericKeyedObjectPool#getMinIdlePerKey()
The default value for the {@code lifo} configuration attribute. @see GenericObjectPool#getLifo() @see GenericKeyedObjectPool#getLifo()
The default value for the {@code fairness} configuration attribute. @see GenericObjectPool#getFairness() @see GenericKeyedObjectPool#getFairness()
The default value for the {@code maxWait} configuration attribute. @see GenericObjectPool#getMaxWaitMillis() @see GenericKeyedObjectPool#getMaxWaitMillis()
The default value for the {@code minEvictableIdleTimeMillis} configuration attribute. @see GenericObjectPool#getMinEvictableIdleTimeMillis() @see GenericKeyedObjectPool#getMinEvictableIdleTimeMillis()
The default value for the {@code softMinEvictableIdleTimeMillis} configuration attribute. @see GenericObjectPool#getSoftMinEvictableIdleTimeMillis() @see GenericKeyedObjectPool#getSoftMinEvictableIdleTimeMillis()
The default value for {@code evictorShutdownTimeoutMillis} configuration attribute. @see GenericObjectPool#getEvictorShutdownTimeoutMillis() @see GenericKeyedObjectPool#getEvictorShutdownTimeoutMillis()
The default value for the {@code numTestsPerEvictionRun} configuration attribute. @see GenericObjectPool#getNumTestsPerEvictionRun() @see GenericKeyedObjectPool#getNumTestsPerEvictionRun()
The default value for the {@code testOnCreate} configuration attribute. @see GenericObjectPool#getTestOnCreate() @see GenericKeyedObjectPool#getTestOnCreate()
The default value for the {@code testOnBorrow} configuration attribute. @see GenericObjectPool#getTestOnBorrow() @see GenericKeyedObjectPool#getTestOnBorrow()
The default value for the {@code testOnReturn} configuration attribute. @see GenericObjectPool#getTestOnReturn() @see GenericKeyedObjectPool#getTestOnReturn()
The default value for the {@code testWhileIdle} configuration attribute. @see GenericObjectPool#getTestWhileIdle() @see GenericKeyedObjectPool#getTestWhileIdle()
The default value for the {@code timeBetweenEvictionRunsMillis} configuration attribute. @see GenericObjectPool#getTimeBetweenEvictionRunsMillis() @see GenericKeyedObjectPool#getTimeBetweenEvictionRunsMillis()
The default value for the {@code blockWhenExhausted} configuration attribute. @see GenericObjectPool#getBlockWhenExhausted() @see GenericKeyedObjectPool#getBlockWhenExhausted()
The default value for enabling JMX for pools created with a configuration instance.
The default value for the prefix used to name JMX enabled pools created with a configuration instance. @see GenericObjectPool#getJmxName() @see GenericKeyedObjectPool#getJmxName()
The default value for the base name to use to name JMX enabled pools created with a configuration instance. The default is <code>null</code> which means the pool will provide the base name to use. @see GenericObjectPool#getJmxName() @see GenericKeyedObjectPool#getJmxName()
The default value for the {@code evictionPolicyClassName} configuration attribute. @see GenericObjectPool#getEvictionPolicyClassName() @see GenericKeyedObjectPool#getEvictionPolicyClassName()
Get the value for the {@code lifo} configuration attribute for pools created with this configuration instance.
Get the value for the {@code fairness} configuration attribute for pools created with this configuration instance.
Set the value for the {@code lifo} configuration attribute for pools created with this configuration instance.
Set the value for the {@code fairness} configuration attribute for pools created with this configuration instance.
Get the value for the {@code maxWait} configuration attribute for pools created with this configuration instance.
Set the value for the {@code maxWait} configuration attribute for pools created with this configuration instance.
Get the value for the {@code minEvictableIdleTimeMillis} configuration attribute for pools created with this configuration instance.
Set the value for the {@code minEvictableIdleTimeMillis} configuration attribute for pools created with this configuration instance.
Get the value for the {@code softMinEvictableIdleTimeMillis} configuration attribute for pools created with this configuration instance.
Set the value for the {@code softMinEvictableIdleTimeMillis} configuration attribute for pools created with this configuration instance.
Get the value for the {@code numTestsPerEvictionRun} configuration attribute for pools created with this configuration instance.
Set the value for the {@code numTestsPerEvictionRun} configuration attribute for pools created with this configuration instance.
Get the value for the {@code evictorShutdownTimeoutMillis} configuration attribute for pools created with this configuration instance.
Set the value for the {@code evictorShutdownTimeoutMillis} configuration attribute for pools created with this configuration instance.
Get the value for the {@code testOnCreate} configuration attribute for pools created with this configuration instance.
Set the value for the {@code testOnCreate} configuration attribute for pools created with this configuration instance.
Get the value for the {@code testOnBorrow} configuration attribute for pools created with this configuration instance.
Set the value for the {@code testOnBorrow} configuration attribute for pools created with this configuration instance.
Get the value for the {@code testOnReturn} configuration attribute for pools created with this configuration instance.
Set the value for the {@code testOnReturn} configuration attribute for pools created with this configuration instance.
Get the value for the {@code testWhileIdle} configuration attribute for pools created with this configuration instance.
Set the value for the {@code testWhileIdle} configuration attribute for pools created with this configuration instance.
Get the value for the {@code timeBetweenEvictionRunsMillis} configuration attribute for pools created with this configuration instance.
Set the value for the {@code timeBetweenEvictionRunsMillis} configuration attribute for pools created with this configuration instance.
Get the value for the {@code evictionPolicyClass} configuration attribute for pools created with this configuration instance.
Get the value for the {@code evictionPolicyClassName} configuration attribute for pools created with this configuration instance.
Set the value for the {@code evictionPolicyClass} configuration attribute for pools created with this configuration instance.
Set the value for the {@code evictionPolicyClassName} configuration attribute for pools created with this configuration instance.
Get the value for the {@code blockWhenExhausted} configuration attribute for pools created with this configuration instance.
Set the value for the {@code blockWhenExhausted} configuration attribute for pools created with this configuration instance.
Gets the value of the flag that determines if JMX will be enabled for pools created with this configuration instance.
Sets the value of the flag that determines if JMX will be enabled for pools created with this configuration instance.
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. A value of <code>null</code> means that the pool will define the JMX name base.
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. A value of <code>null</code> means that the pool will define the JMX name base.
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.
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.
A simple "struct" encapsulating the configuration for a {@link GenericKeyedObjectPool}.
<p> This class is not thread-safe; it is only intended to be used to provide attributes used when creating a pool. </p>
@param <T> Type of element pooled.