public class FdfsConnectionPool extends org.apache.commons.pool2.impl.GenericKeyedObjectPool<InetSocketAddress,Connection>
定义了对象池要实现的功能,对一个地址进行池化Map Pool
| 构造器和说明 |
|---|
FdfsConnectionPool() |
FdfsConnectionPool(org.apache.commons.pool2.KeyedPooledObjectFactory<InetSocketAddress,Connection> factory) |
FdfsConnectionPool(org.apache.commons.pool2.KeyedPooledObjectFactory<InetSocketAddress,Connection> factory,
org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig config) |
addObject, borrowObject, borrowObject, clear, clear, clearOldest, close, evict, getFactory, getMaxIdlePerKey, getMaxTotalPerKey, getMinIdlePerKey, getNumActive, getNumActive, getNumActivePerKey, getNumIdle, getNumIdle, getNumWaiters, getNumWaitersByKey, invalidateObject, listAllObjects, preparePool, returnObject, setConfig, setMaxIdlePerKey, setMaxTotalPerKey, setMinIdlePerKeygetBlockWhenExhausted, getBorrowedCount, getCreatedCount, getCreationStackTrace, getDestroyedByBorrowValidationCount, getDestroyedByEvictorCount, getDestroyedCount, getEvictionPolicy, getEvictionPolicyClassName, getFairness, getJmxName, getLifo, getMaxBorrowWaitTimeMillis, getMaxTotal, getMaxWaitMillis, getMeanActiveTimeMillis, getMeanBorrowWaitTimeMillis, getMeanIdleTimeMillis, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getReturnedCount, getSoftMinEvictableIdleTimeMillis, getSwallowedExceptionListener, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, isClosed, setBlockWhenExhausted, setEvictionPolicyClassName, setLifo, setMaxTotal, setMaxWaitMillis, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setSoftMinEvictableIdleTimeMillis, setSwallowedExceptionListener, setTestOnBorrow, setTestOnCreate, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillisclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlockWhenExhausted, getBorrowedCount, getCreatedCount, getCreationStackTrace, getDestroyedByBorrowValidationCount, getDestroyedByEvictorCount, getDestroyedCount, getFairness, getLifo, getMaxBorrowWaitTimeMillis, getMaxTotal, getMaxWaitMillis, getMeanActiveTimeMillis, getMeanBorrowWaitTimeMillis, getMeanIdleTimeMillis, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getReturnedCount, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, isClosedpublic FdfsConnectionPool(org.apache.commons.pool2.KeyedPooledObjectFactory<InetSocketAddress,Connection> factory, org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig config)
public FdfsConnectionPool(org.apache.commons.pool2.KeyedPooledObjectFactory<InetSocketAddress,Connection> factory)
public FdfsConnectionPool()
Copyright © 2017. All rights reserved.