|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
UnsupportedOperationException
, subclasses should override this
behavior.
factory
, passivate it, and then place it in the idle object pool.
factory
or
other implementation dependent mechanism, passivate it, and then place it
in the idle object pool.
factory
or other
implementation dependent mechanism, passivate it, and then place it in
the idle object pool.
IllegalStateException
when this pool has been
closed.
GenericObjectPool
and GenericKeyedObjectPool
.KeyedPooledObjectFactory
.ObjectPool
.PoolableObjectFactory
.borrowObject
(key,
BaseGenericObjectPool.getMaxWaitMillis()
)
.
BaseGenericObjectPool.getBlockWhenExhausted()
is true.
borrowObject
(BaseGenericObjectPool.getMaxWaitMillis()
)
.
BaseGenericObjectPool.getBlockWhenExhausted()
is true.
key
.
Collection
keys
in the keyedPool.
KeyedPooledObjectFactory.destroyObject(Object, PooledObject)
method on each idle instance.
key
.
PooledObjectFactory.destroyObject(PooledObject)
method on each
idle instance.
key
(optional operation).
PooledObject
.
IDLE
if it is currently ALLOCATED
.
IDLE
if it is currently ALLOCATED
.
blockWhenExhausted
configuration
attribute.
evictionPolicyClassName
configuration
attribute.
lifo
configuration attribute.
maxIdle
configuration attribute.
minIdlePerKey
configuration attribute.
maxTotal
configuration attribute.
maxTotal
configuration attribute.
maxTotalPerKey
configuration attribute.
maxWait
configuration attribute.
minEvictableIdleTimeMillis
configuration attribute.
minIdle
configuration attribute.
minIdlePerKey
configuration attribute.
numTestsPerEvictionRun
configuration
attribute.
softMinEvictableIdleTimeMillis
configuration attribute.
testOnBorrow
configuration attribute.
testOnReturn
configuration attribute.
testWhileIdle
configuration attribute.
timeBetweenEvictionRunsMillis
configuration attribute.
EvictionPolicy
used by the
pools.numTests
idle object eviction tests, evicting
examined objects that meet the criteria for eviction.
numTests
idle object eviction tests, evicting
examined objects that meet the criteria for eviction.
numTests
idle object eviction tests, evicting
examined objects that meet the criteria for eviction.
EvictionPolicy
instances.KeyedObjectPool
implementation.GenericKeyedObjectPool
using defaults from
GenericKeyedObjectPoolConfig
.
GenericKeyedObjectPool
using a specific
configuration.
GenericKeyedObjectPool
.ObjectPool
implementation.GenericObjectPool
using defaults from
GenericObjectPoolConfig
.
GenericObjectPool
using a specific
configuration.
GenericObjectPool
that tracks and destroys
objects that are checked out, but never returned to the pool.
GenericObjectPool
.borrowObject()
method is
invoked when the pool is exhausted (the maximum number of "active"
objects has been reached).
blockWhenExhausted
configuration attribute
for pools created with this configuration instance.
BaseGenericObjectPool.getBlockWhenExhausted()
BaseGenericObjectPool.getBlockWhenExhausted()
BaseGenericObjectPool.getBorrowedCount()
BaseGenericObjectPool.getBorrowedCount()
BaseGenericObjectPool.getCreatedCount()
BaseGenericObjectPool.getCreatedCount()
System.currentTimeMillis()
) that pooled object was created.
System.currentTimeMillis()
) that this object was created.
BaseGenericObjectPool.getCreationStackTrace()
BaseGenericObjectPool.getCreationStackTrace()
borrowObject()
over the lifetime of the
pool.
BaseGenericObjectPool.getDestroyedByBorrowValidationCount()
BaseGenericObjectPool.getDestroyedByBorrowValidationCount()
BaseGenericObjectPool.getDestroyedByEvictorCount()
BaseGenericObjectPool.getDestroyedByEvictorCount()
BaseGenericObjectPool.getDestroyedCount()
BaseGenericObjectPool.getDestroyedCount()
EvictionPolicy
implementation that is
used by this pool.
evictionPolicyClassName
configuration
attribute for pools created with this configuration instance.
PooledObjectFactory
used by this pool to create and
manage object instances.
GenericObjectPool.getFactoryType()
idleEvictTime
for this eviction configuration
instance.
idleSoftEvictTime
for this eviction configuration
instance.
null
if the pool has not been
registered.
System.currentTimeMillis()
) the polled object was last borrowed.
System.currentTimeMillis()
)the wrapped object was last returned.
lifo
configuration attribute for pools
created with this configuration instance.
BaseGenericObjectPool.getLifo()
BaseGenericObjectPool.getLifo()
GenericObjectPool.getLogAbandoned()
BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
maxIdle
configuration attribute
for pools created with this configuration instance.
GenericObjectPool.getMaxIdle()
maxIdlePerKey
configuration attribute
for pools created with this configuration instance.
GenericKeyedObjectPool.getMaxIdlePerKey()
maxTotal
configuration attribute
for pools created with this configuration instance.
BaseGenericObjectPool.getMaxTotal()
maxTotal
configuration attribute
for pools created with this configuration instance.
BaseGenericObjectPool.getMaxTotal()
maxTotalPerKey
configuration attribute
for pools created with this configuration instance.
GenericKeyedObjectPool.getMaxTotalPerKey()
borrowObject()
method should block before throwing an
exception when the pool is exhausted and
BaseGenericObjectPool.getBlockWhenExhausted()
is true.
maxWait
configuration attribute for pools
created with this configuration instance.
BaseGenericObjectPool.getMaxWaitMillis()
BaseGenericObjectPool.getMaxWaitMillis()
BaseGenericObjectPool.MEAN_TIMING_STATS_CACHE_SIZE
objects returned to the pool.
BaseGenericObjectPool.getMeanActiveTimeMillis()
BaseGenericObjectPool.getMeanActiveTimeMillis()
BaseGenericObjectPool.MEAN_TIMING_STATS_CACHE_SIZE
objects borrowed from the pool.
BaseGenericObjectPool.getMaxBorrowWaitTimeMillis()
BaseGenericObjectPool.getMeanBorrowWaitTimeMillis()
BaseGenericObjectPool.MEAN_TIMING_STATS_CACHE_SIZE
objects borrowed from the pool.
BaseGenericObjectPool.getMeanIdleTimeMillis()
BaseGenericObjectPool.getMeanIdleTimeMillis()
BaseGenericObjectPool.setTimeBetweenEvictionRunsMillis(long)
).
minEvictableIdleTimeMillis
configuration
attribute for pools created with this configuration instance.
BaseGenericObjectPool.getMinEvictableIdleTimeMillis()
BaseGenericObjectPool.getMinEvictableIdleTimeMillis()
minIdle
for this eviction configuration instance.
minIdle
configuration attribute
for pools created with this configuration instance.
GenericObjectPool.getMinIdle()
minIdlePerKey
configuration attribute
for pools created with this configuration instance.
GenericKeyedObjectPool.getMinIdlePerKey()
GenericKeyedObjectPool.getNumActive()
GenericObjectPool.getNumActive()
key
.
GenericKeyedObjectPool.getNumActivePerKey()
GenericKeyedObjectPool.getNumIdle()
GenericObjectPool.getNumIdle()
key
currently idle in this pool.
numTestsPerEvictionRun
configuration
attribute for pools created with this configuration instance.
BaseGenericObjectPool.getNumTestsPerEvictionRun()
BaseGenericObjectPool.getNumTestsPerEvictionRun()
GenericKeyedObjectPool.getNumWaiters()
GenericObjectPool.getNumWaiters()
GenericKeyedObjectPool.getNumWaitersByKey()
PooledObject
.
GenericObjectPool.getRemoveAbandonedOnBorrow()
GenericObjectPool.getRemoveAbandonedOnMaintenance()
GenericObjectPool.getRemoveAbandonedTimeout()
BaseGenericObjectPool.getReturnedCount()
BaseGenericObjectPool.getReturnedCount()
BaseGenericObjectPool.setTimeBetweenEvictionRunsMillis(long)
),
with the extra condition that at least minIdle
object
instances remain in the pool.
softMinEvictableIdleTimeMillis
configuration attribute for pools created with this configuration
instance.
borrowObject()
method.
testOnBorrow
configuration attribute for
pools created with this configuration instance.
BaseGenericObjectPool.getTestOnBorrow()
BaseGenericObjectPool.getTestOnBorrow()
returnObject()
method.
testOnReturn
configuration attribute for
pools created with this configuration instance.
BaseGenericObjectPool.getTestOnReturn()
BaseGenericObjectPool.getTestOnReturn()
BaseGenericObjectPool.setTimeBetweenEvictionRunsMillis(long)
).
testWhileIdle
configuration attribute for
pools created with this configuration instance.
BaseGenericObjectPool.getTestWhileIdle()
BaseGenericObjectPool.getTestWhileIdle()
timeBetweenEvictionRunsMillis
configuration
attribute for pools created with this configuration instance.
BaseGenericObjectPool.getTimeBetweenEvictionRunsMillis()
BaseGenericObjectPool.getTimeBetweenEvictionRunsMillis()
UsageTracking
, should the pool record a
stack trace every time a method is called on a pooled object and retain
the most recent stack trace to aid debugging of abandoned objects?
INVALID
INVALID
GenericObjectPool.isAbandonedConfig()
BaseGenericObjectPool.isClosed()
BaseGenericObjectPool.isClosed()
KeyedObjectPool
.GenericKeyedObjectPool.listAllObjects()
GenericObjectPool.listAllObjects()
PooledObject
to be managed by the pool.
PooledObject
to be managed by the pool.
ObjectPool
.PooledObject
may be in.DefaultPooledObject
to wrap pooled soft references.addObject()
on pool
count
number of times.
addObject(Object)
on keyedPool
with
key
count
number of times.
addObject(Object)
on keyedPool
with each
key in keys
for count
number of times.
GenericKeyedObjectPool.getMinIdlePerKey()
idle instances are created.
borrowObject()
method is
invoked when the pool is exhausted (the maximum number of "active"
objects has been reached).
blockWhenExhausted
configuration attribute
for pools created with this configuration instance.
EvictionPolicy
implementation that is
used by this pool.
evictionPolicyClassName
configuration
attribute for pools created with this configuration instance.
lifo
configuration attribute for pools
created with this configuration instance.
maxIdle
configuration attribute for
pools created with this configuration instance.
maxIdlePerKey
configuration attribute for
pools created with this configuration instance.
maxTotal
configuration attribute for
pools created with this configuration instance.
maxTotal
configuration attribute for
pools created with this configuration instance.
maxTotalPerKey
configuration attribute for
pools created with this configuration instance.
borrowObject()
method should block before throwing an
exception when the pool is exhausted and
BaseGenericObjectPool.getBlockWhenExhausted()
is true.
maxWait
configuration attribute for pools
created with this configuration instance.
BaseGenericObjectPool.setTimeBetweenEvictionRunsMillis(long)
).
minEvictableIdleTimeMillis
configuration
attribute for pools created with this configuration instance.
minIdle
configuration attribute for
pools created with this configuration instance.
minIdlePerKey
configuration attribute for
pools created with this configuration instance.
numTestsPerEvictionRun
configuration
attribute for pools created with this configuration instance.
BaseGenericObjectPool.setTimeBetweenEvictionRunsMillis(long)
),
with the extra condition that at least minIdle
object
instances remain in the pool.
softMinEvictableIdleTimeMillis
configuration attribute for pools created with this configuration
instance.
borrowObject()
method.
testOnBorrow
configuration attribute for
pools created with this configuration instance.
returnObject()
method.
testOnReturn
configuration attribute for
pools created with this configuration instance.
BaseGenericObjectPool.setTimeBetweenEvictionRunsMillis(long)
).
testWhileIdle
configuration attribute for
pools created with this configuration instance.
timeBetweenEvictionRunsMillis
configuration
attribute for pools created with this configuration instance.
UsageTracking
, configure whether the pool
should record a stack trace every time a method is called on a pooled
object and retain the most recent stack trace to aid debugging of
abandoned objects.
SoftReference
based ObjectPool
.SoftReferenceObjectPool
with the specified factory.
PooledObjectState.EVICTION
state.
true
.
PooledObject
.
PooledObject
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |