Reinitialize an instance to be returned by the pool.
Reinitialize an instance to be returned by the pool.
Not supported in this base implementation.
Create an object, and place it into the pool.
Create an object using my
factory
or other
implementation dependent mechanism, and place it into the pool.
Create an object, and place it into the pool.
Create an object, and place it into the pool.
Not supported in this base implementation.
Create an object using my
factory
or other
implementation dependent mechanism, and place it into the pool.
Create an object using my
factory
or other
implementation dependent mechanism, and place it into the pool.
Create an object using my
factory
or other
implementation dependent mechanism, and place it into the pool.
Not supported in this base implementation.
Not supported in this base implementation.
Clears my pool, removing all pooled instances
(optional operation).
Clears my pool, removing all pooled instances
(optional operation).
Clears any objects sitting idle in the pool, releasing any
associated resources (optional operation).
Clears any objects sitting idle in the pool, releasing any
associated resources (optional operation).
Clears my pool, removing all pooled instances
(optional operation).
Clears any objects sitting idle in the pool, releasing any
associated resources (optional operation).
Not supported in this base implementation.
Clears the specified pool, removing all
pooled instances corresponding to
the given key (optional operation).
Clears the specified pool, removing all
pooled instances corresponding to
the given key (optional operation).
Clears the specified pool, removing all
pooled instances corresponding to
the given key (optional operation).
Does nothing this base implementation.
Close this pool, and free any resources associated with it.
Close this pool, and free any resources associated with it.
Close this pool, and free any resources associated with it.
Close this pool, and free any resources associated with it.
Close this pool, and free any resources associated with it.
Close this pool, and free any resources associated with it.
Close this pool, and free any resources associated with it.
A simple "struct" encapsulating the
configuration information for a
GenericObjectPool
.
The default cap on the total number of active instances from the pool
(per key).
The default cap on the total number of active instances from the pool.
The default cap on the number of idle instances in the pool
(per key).
The default cap on the number of "sleeping" instances in the pool.
The default cap on the the maximum number of objects that can exists at one time.
The default minimum number of "sleeping" instances in the pool
before before the evictor thread (if active) spawns new objects.
The default number of objects to examine per run in the
idle object evictor.
The default number of objects to examine per run in the
idle object evictor.
The default "test on borrow" value.
The default "test on borrow" value.
The default "test on return" value.
The default "test on return" value.
The default "test while idle" value.
The default "test while idle" value.
The default "time between eviction runs" value.
The default "time between eviction runs" value.
The default "when exhausted action" for the pool.
The default "when exhausted action" for the pool.
Destroys an instance no longer needed by the pool.
Destroy an instance no longer needed by the pool.
Create a new GenericKeyedObjectPool..
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPool(org.apache.commons.pool.KeyedPoolableObjectFactory,int,byte,long,int,boolean,boolean,long,int,long,boolean) - constructor for class org.apache.commons.pool.impl.
GenericKeyedObjectPool Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPool(org.apache.commons.pool.KeyedPoolableObjectFactory,int,byte,long,int,int,boolean,boolean,long,int,long,boolean) - constructor for class org.apache.commons.pool.impl.
GenericKeyedObjectPool Create a new GenericKeyedObjectPool using the specified values.
Create a new GenericKeyedObjectPool using the specified values.
GenericKeyedObjectPoolFactory(org.apache.commons.pool.KeyedPoolableObjectFactory,int,byte,long,int,boolean,boolean,long,int,long,boolean) - constructor for class org.apache.commons.pool.impl.
GenericKeyedObjectPoolFactory GenericKeyedObjectPoolFactory(org.apache.commons.pool.KeyedPoolableObjectFactory,int,byte,long,int,int,boolean,boolean,long,int,long,boolean) - constructor for class org.apache.commons.pool.impl.
GenericKeyedObjectPoolFactory Create a new GenericObjectPool.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
GenericObjectPool(org.apache.commons.pool.PoolableObjectFactory,int,byte,long,int,boolean,boolean,long,int,long,boolean) - constructor for class org.apache.commons.pool.impl.
GenericObjectPool Create a new GenericObjectPool using the specified values.
GenericObjectPool(org.apache.commons.pool.PoolableObjectFactory,int,byte,long,int,int,boolean,boolean,long,int,long,boolean) - constructor for class org.apache.commons.pool.impl.
GenericObjectPool Create a new GenericObjectPool using the specified values.
Create a new GenericObjectPool using the specified values.
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory,int,byte,long,int,boolean,boolean,long,int,long,boolean) - constructor for class org.apache.commons.pool.impl.
GenericObjectPoolFactory GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory,int,byte,long,int,int,boolean,boolean,long,int,long,boolean) - constructor for class org.apache.commons.pool.impl.
GenericObjectPoolFactory Returns the cap on the number of active instances from my pool (per key).
Returns the cap on the total number of active instances from my pool.
Returns the cap on the number of "idle" instances in the pool.
Returns the cap on the number of "idle" instances in the pool.
Returns the cap on the total number of instances from my pool.
Returns the minimum amount of time an object may sit idle in the pool
before it is eligable for eviction by the idle object evictor
(if any).
Returns the minimum amount of time an object may sit idle in the pool
before it is eligable for eviction by the idle object evictor
(if any).
Returns the minimum number of objects allowed in the pool
before the evictor thread (if active) spawns new objects.
Not supported in this base implementation.
Not supported in this base implementation.
Returns the total number of instances
current borrowed from my pool but not
yet returned (optional operation).
Returns the total number of instances
current borrowed from my pool but not
yet returned (optional operation).
Return the number of instances
currently borrowed from my pool
(optional operation).
Return the number of instances
currently borrowed from my pool
(optional operation).
Returns the total number of instances
current borrowed from my pool but not
yet returned (optional operation).
Return the number of instances
currently borrowed from my pool
(optional operation).
Not supported in this base implementation.
Returns the number of instances
currently borrowed from but not yet returned
to my pool corresponding to the
given key (optional operation).
Returns the number of instances
currently borrowed from but not yet returned
to my pool corresponding to the
given key (optional operation).
Returns the number of instances
currently borrowed from but not yet returned
to my pool corresponding to the
given key (optional operation).
Not supported in this base implementation.
Not supported in this base implementation.
Returns the total number of instances
currently idle in my pool (optional operation).
Returns the total number of instances
currently idle in my pool (optional operation).
Return the number of instances
currently idle in my pool (optional operation).
Returns an approximation not less than the of the number of idle instances in the pool.
Returns the total number of instances
currently idle in my pool (optional operation).
Return the number of instances
currently idle in my pool (optional operation).
Not supported in this base implementation.
Returns the number of instances
corresponding to the given key
currently idle in my pool (optional operation).
Returns the number of instances
corresponding to the given key
currently idle in my pool (optional operation).
Returns the number of instances
corresponding to the given key
currently idle in my pool (optional operation).
Returns the number of objects to examine during each run of the
idle object evictor thread (if any).
Returns the number of objects to examine during each run of the
idle object evictor thread (if any).
When
true, objects will be
validated
by the idle object evictor (if any).
When
true, objects will be
validated
by the idle object evictor (if any).
Returns the number of milliseconds to sleep between runs of the
idle object evictor thread.
Returns the number of milliseconds to sleep between runs of the
idle object evictor thread.
Returns the action to take when the
borrowObject(Object)
method
is invoked when the pool is exhausted (the maximum number
of "active" objects has been reached).
Returns the action to take when the
borrowObject()
method
is invoked when the pool is exhausted (the maximum number
of "active" objects has been reached).
Not supported in this base implementation.
Sets the
factory
I use
to create new instances (optional operation).
Sets the
factory
I use
to create new instances (optional operation).
Sets the
factory
I use
to create new instances (optional operation).
Not supported in this base implementation.
Sets the
factory
I use
to create new instances (optional operation).
Sets the
factory
I use
to create new instances (optional operation).
Sets the
factory
I use
to create new instances (optional operation).
Sets the cap on the number of active instances from my pool (per key).
Sets the cap on the total number of active instances from my pool.
Sets the cap on the number of "idle" instances in the pool.
Sets the cap on the number of "idle" instances in the pool.
Sets the cap on the total number of instances from my pool.
Sets the minimum amount of time an object may sit idle in the pool
before it is eligable for eviction by the idle object evictor
(if any).
Sets the minimum amount of time an object may sit idle in the pool
before it is eligable for eviction by the idle object evictor
(if any).
Sets the minimum number of objects allowed in the pool
before the evictor thread (if active) spawns new objects.
Sets the number of objects to examine during each run of the
idle object evictor thread (if any).
Sets the number of objects to examine during each run of the
idle object evictor thread (if any).
When
true, objects will be
validated
by the idle object evictor (if any).
When
true, objects will be
validated
by the idle object evictor (if any).
Sets the number of milliseconds to sleep between runs of the
idle object evictor thread.
Sets the number of milliseconds to sleep between runs of the
idle object evictor thread.
Sets the action to take when the
borrowObject(Object)
method
is invoked when the pool is exhausted (the maximum number
of "active" objects has been reached).
Sets the action to take when the
borrowObject()
method
is invoked when the pool is exhausted (the maximum number
of "active" objects has been reached).
Create a new pool using
no factory.
Create a new pool using
no factory.
Create a new pool using
no factory.
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances.
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances.
Create a new SimpleKeyedObjectPool using
the specified factory to create new instances.
Create a new pool using
no factory.
Create a new pool using
no factory.
Create a new pool using
no factory.
Create a new StackObjectPool using
the specified factory to create new instances.
Create a new SimpleObjectPool using
the specified factory to create new instances,
capping the number of "sleeping" instances to max
Create a new SimpleObjectPool using
the specified factory to create new instances,
capping the number of "sleeping" instances to max,
and initially allocating a container capable of containing
at least init instances.