|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.pool.BaseObjectPool
org.apache.commons.pool.impl.GenericObjectPool
net.jackofalltrades.util.Perl5UtilPool
Provides pooling capabilities for objects of type
org.apache.oro.text.perl.Perl5Util
.
The org.apache.commons.pool.impl.GenericObjectPool
superclass
is configured internally. To modify the internal configuration of the
superclass, the following properties should be set prior to the invocation
of the JVM:
Perl5Util
objects. (default: 15)Perl5Util
objects. (default: 5)
Tests "onBorrow", "onReturn", and "whileIdle" are disabled, because the
method validateObject(Object)
of the
PoolablePerl5UtilFactory
is not supported. The idle object
eviction thread performs tests on all objects active in the pool. A
Perl5Util
object is considered "idle" after five (5) seconds
of inactivity, and the idle object eviction thread waits ten (10) seconds
between executions.
Nested Class Summary |
Nested classes inherited from class org.apache.commons.pool.impl.GenericObjectPool |
org.apache.commons.pool.impl.GenericObjectPool.Config |
Field Summary |
Fields inherited from class org.apache.commons.pool.impl.GenericObjectPool |
DEFAULT_MAX_ACTIVE, DEFAULT_MAX_IDLE, DEFAULT_MAX_WAIT, DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS, DEFAULT_NUM_TESTS_PER_EVICTION_RUN, DEFAULT_TEST_ON_BORROW, DEFAULT_TEST_ON_RETURN, DEFAULT_TEST_WHILE_IDLE, DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS, DEFAULT_WHEN_EXHAUSTED_ACTION, WHEN_EXHAUSTED_BLOCK, WHEN_EXHAUSTED_FAIL, WHEN_EXHAUSTED_GROW |
Constructor Summary | |
Perl5UtilPool(PoolablePerl5UtilFactory factory)
Creates a new instance of Perl5UtilPool . |
Methods inherited from class org.apache.commons.pool.impl.GenericObjectPool |
addObject, borrowObject, clear, close, evict, getMaxActive, getMaxIdle, getMaxWait, getMinEvictableIdleTimeMillis, getNumActive, getNumIdle, getNumTestsPerEvictionRun, getTestOnBorrow, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, getWhenExhaustedAction, invalidateObject, returnObject, setConfig, setFactory, setMaxActive, setMaxIdle, setMaxWait, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setWhenExhaustedAction, startEvictor |
Methods inherited from class org.apache.commons.pool.BaseObjectPool |
assertOpen, isClosed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Perl5UtilPool(PoolablePerl5UtilFactory factory)
Perl5UtilPool
.
factory
- an instance of PoolablePerl5UtilFactory
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |