类 FdfsConnectionPool

java.lang.Object
org.apache.commons.pool2.BaseObject
org.apache.commons.pool2.impl.BaseGenericObjectPool<T>
org.apache.commons.pool2.impl.GenericKeyedObjectPool<InetSocketAddress,Connection>
com.github.tobato.fastdfs.domain.conn.FdfsConnectionPool
所有已实现的接口:
Closeable, AutoCloseable, org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean<InetSocketAddress>, org.apache.commons.pool2.KeyedObjectPool<InetSocketAddress,Connection>, org.apache.commons.pool2.UsageTracking<Connection>

@Component public class FdfsConnectionPool extends org.apache.commons.pool2.impl.GenericKeyedObjectPool<InetSocketAddress,Connection>
定义Fdfs连接池对象

 定义了对象池要实现的功能,对一个地址进行池化Map Pool
 
作者:
tobato
  • 字段概要

    从类继承的字段 org.apache.commons.pool2.impl.BaseGenericObjectPool

    abandonedConfig, MEAN_TIMING_STATS_CACHE_SIZE
  • 构造器概要

    构造器
    构造器
    说明
    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)
    默认构造函数
  • 方法概要

    从类继承的方法 org.apache.commons.pool2.impl.GenericKeyedObjectPool

    addObject, borrowObject, borrowObject, clear, clear, clear, clearOldest, close, evict, getFactory, getKeys, getMaxIdlePerKey, getMaxTotalPerKey, getMinIdlePerKey, getNumActive, getNumActive, getNumActivePerKey, getNumIdle, getNumIdle, getNumWaiters, getNumWaitersByKey, invalidateObject, invalidateObject, listAllObjects, preparePool, returnObject, setConfig, setMaxIdlePerKey, setMaxTotalPerKey, setMinIdlePerKey, toStringAppendFields, use

    从类继承的方法 org.apache.commons.pool2.impl.BaseGenericObjectPool

    getBlockWhenExhausted, getBorrowedCount, getCreatedCount, getCreationStackTrace, getDestroyedByBorrowValidationCount, getDestroyedByEvictorCount, getDestroyedCount, getDurationBetweenEvictionRuns, getEvictionPolicy, getEvictionPolicyClassName, getEvictorShutdownTimeout, getEvictorShutdownTimeoutDuration, getEvictorShutdownTimeoutMillis, getFairness, getJmxName, getLifo, getLogAbandoned, getMaxBorrowWaitDuration, getMaxBorrowWaitTimeMillis, getMaxTotal, getMaxWaitDuration, getMaxWaitMillis, getMeanActiveDuration, getMeanActiveTimeMillis, getMeanBorrowWaitDuration, getMeanBorrowWaitTimeMillis, getMeanIdleDuration, 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, setDurationBetweenEvictionRuns, setEvictionPolicy, setEvictionPolicyClassName, setEvictionPolicyClassName, setEvictorShutdownTimeout, setEvictorShutdownTimeoutMillis, setLifo, setMaxTotal, setMaxWait, setMaxWaitMillis, setMessagesStatistics, setMinEvictableIdle, setMinEvictableIdleDuration, setMinEvictableIdleTime, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setSoftMinEvictableIdle, setSoftMinEvictableIdleDuration, setSoftMinEvictableIdleTime, setSoftMinEvictableIdleTimeMillis, setSwallowedExceptionListener, setTestOnBorrow, setTestOnCreate, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRuns, setTimeBetweenEvictionRunsMillis

    从类继承的方法 org.apache.commons.pool2.BaseObject

    toString

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    从接口继承的方法 org.apache.commons.pool2.impl.GenericKeyedObjectPoolMXBean

    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, isClosed

    从接口继承的方法 org.apache.commons.pool2.KeyedObjectPool

    addObjects, addObjects
  • 构造器详细资料

    • FdfsConnectionPool

      @Autowired public FdfsConnectionPool(org.apache.commons.pool2.KeyedPooledObjectFactory<InetSocketAddress,Connection> factory, org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig config)
      默认构造函数
      参数:
      factory -
      config -
    • FdfsConnectionPool

      public FdfsConnectionPool(org.apache.commons.pool2.KeyedPooledObjectFactory<InetSocketAddress,Connection> factory)
      默认构造函数
      参数:
      factory -