Package org.apache.fulcrum.parser.pool
Klasse BaseValueParserPool
java.lang.Object
org.apache.commons.pool2.BaseObject
org.apache.commons.pool2.impl.BaseGenericObjectPool<T>
org.apache.commons.pool2.impl.GenericObjectPool<BaseValueParser>
org.apache.fulcrum.parser.pool.BaseValueParserPool
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable,org.apache.commons.pool2.impl.GenericObjectPoolMXBean,org.apache.commons.pool2.ObjectPool<BaseValueParser>,org.apache.commons.pool2.UsageTracking<BaseValueParser>
public class BaseValueParserPool
extends org.apache.commons.pool2.impl.GenericObjectPool<BaseValueParser>
Pool manager for
BaseValueParser objects- Version:
- $Id: BaseValueParserPool.java 1851080 2019-01-16 12:07:00Z painter $
- Autor:
- Jeffery Painter
-
Feldübersicht
Von Klasse geerbte Felder org.apache.commons.pool2.impl.BaseGenericObjectPool
abandonedConfig, MEAN_TIMING_STATS_CACHE_SIZE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungBaseValueParserPool(org.apache.commons.pool2.PooledObjectFactory<BaseValueParser> factory) Constructor.BaseValueParserPool(org.apache.commons.pool2.PooledObjectFactory<BaseValueParser> factory, org.apache.commons.pool2.impl.GenericObjectPoolConfig config) Constructor. -
Methodenübersicht
Von Klasse geerbte Methoden org.apache.commons.pool2.impl.GenericObjectPool
addObject, borrowObject, borrowObject, borrowObject, clear, close, evict, getFactory, getFactoryType, getMaxIdle, getMinIdle, getNumActive, getNumIdle, getNumWaiters, invalidateObject, invalidateObject, listAllObjects, preparePool, returnObject, setConfig, setMaxIdle, setMinIdle, toStringAppendFields, useVon Klasse geerbte Methoden org.apache.commons.pool2.impl.BaseGenericObjectPool
getBlockWhenExhausted, getBorrowedCount, getCreatedCount, getCreationStackTrace, getDestroyedByBorrowValidationCount, getDestroyedByEvictorCount, getDestroyedCount, getDurationBetweenEvictionRuns, getEvictionPolicy, getEvictionPolicyClassName, getEvictorShutdownTimeout, getEvictorShutdownTimeoutDuration, getEvictorShutdownTimeoutMillis, getFairness, getJmxName, getLifo, getLogAbandoned, getMaxBorrowWaitTimeMillis, getMaxTotal, getMaxWaitDuration, getMaxWaitMillis, getMeanActiveTimeMillis, getMeanBorrowWaitTimeMillis, getMeanIdleTimeMillis, getMessageStatistics, getMinEvictableIdleDuration, getMinEvictableIdleTime, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getRemoveAbandonedOnBorrow, getRemoveAbandonedOnMaintenance, getRemoveAbandonedTimeout, getRemoveAbandonedTimeoutDuration, getReturnedCount, getSoftMinEvictableIdleDuration, getSoftMinEvictableIdleTime, getSoftMinEvictableIdleTimeMillis, getSwallowedExceptionListener, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRuns, getTimeBetweenEvictionRunsMillis, isAbandonedConfig, isClosed, markReturningState, setAbandonedConfig, setBlockWhenExhausted, setConfig, setEvictionPolicy, setEvictionPolicyClassName, setEvictionPolicyClassName, setEvictorShutdownTimeout, setEvictorShutdownTimeoutMillis, setLifo, setMaxTotal, setMaxWait, setMaxWaitMillis, setMessagesStatistics, setMinEvictableIdle, setMinEvictableIdleTime, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setSoftMinEvictableIdle, setSoftMinEvictableIdleTime, setSoftMinEvictableIdleTimeMillis, setSwallowedExceptionListener, setTestOnBorrow, setTestOnCreate, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRuns, setTimeBetweenEvictionRunsMillisVon Klasse geerbte Methoden org.apache.commons.pool2.BaseObject
toStringVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.apache.commons.pool2.impl.GenericObjectPoolMXBean
getBlockWhenExhausted, getBorrowedCount, getCreatedCount, getCreationStackTrace, getDestroyedByBorrowValidationCount, getDestroyedByEvictorCount, getDestroyedCount, getFairness, getLifo, getLogAbandoned, getMaxBorrowWaitTimeMillis, getMaxTotal, getMaxWaitMillis, getMeanActiveTimeMillis, getMeanBorrowWaitTimeMillis, getMeanIdleTimeMillis, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getRemoveAbandonedOnBorrow, getRemoveAbandonedOnMaintenance, getRemoveAbandonedTimeout, getReturnedCount, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, isAbandonedConfig, isClosedVon Schnittstelle geerbte Methoden org.apache.commons.pool2.ObjectPool
addObjects
-
Konstruktordetails
-
BaseValueParserPool
Constructor.- Parameter:
factory- the factory
-
BaseValueParserPool
public BaseValueParserPool(org.apache.commons.pool2.PooledObjectFactory<BaseValueParser> factory, org.apache.commons.pool2.impl.GenericObjectPoolConfig config) Constructor. This can be used to have full control over the pool using configuration object.- Parameter:
factory- the factoryconfig- user defined configuration
-