亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? fairgenericobjectpool.java

?? 一個基于lucene&heritrix的搜索引擎
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* FairGenericObjectPool** $Id: FairGenericObjectPool.java,v 1.2 2006/06/09 22:57:24 gojomo Exp $** Created on Apr 7, 2006** Copyright (C) 2006 Internet Archive.*/package org.apache.commons.pool.impl;import java.util.Collections;import java.util.LinkedList;import java.util.List;import java.util.NoSuchElementException;import org.apache.commons.pool.PoolableObjectFactory;import org.apache.commons.pool.impl.GenericKeyedObjectPool.ObjectTimestampPair;/** * Version of GenericObjectPool which is 'fair' with respect to the client * threads using {@link #borrowObject <i>borrowObject</i>}. Those which enter * first will receive objects from the pool first.  *  *  * @see GenericObjectPool * @author Gordon Mohr * @version $Revision: 1.2 $ $Date: 2006/06/09 22:57:24 $ */public class FairGenericObjectPool extends GenericObjectPool {    //--- constructors -----------------------------------------------    // (all copied from superclass; only last adds one additional line of    // initialization and call to superclass)        /**     * Create a new <tt>FairGenericObjectPool</tt>.     */    public FairGenericObjectPool() {        this(null,DEFAULT_MAX_ACTIVE,DEFAULT_WHEN_EXHAUSTED_ACTION,DEFAULT_MAX_WAIT,DEFAULT_MAX_IDLE,DEFAULT_MIN_IDLE,DEFAULT_TEST_ON_BORROW,DEFAULT_TEST_ON_RETURN,DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS,DEFAULT_NUM_TESTS_PER_EVICTION_RUN,DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS,DEFAULT_TEST_WHILE_IDLE);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     */    public FairGenericObjectPool(PoolableObjectFactory factory) {        this(factory,DEFAULT_MAX_ACTIVE,DEFAULT_WHEN_EXHAUSTED_ACTION,DEFAULT_MAX_WAIT,DEFAULT_MAX_IDLE,DEFAULT_MIN_IDLE,DEFAULT_TEST_ON_BORROW,DEFAULT_TEST_ON_RETURN,DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS,DEFAULT_NUM_TESTS_PER_EVICTION_RUN,DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS,DEFAULT_TEST_WHILE_IDLE);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     * @param config a non-<tt>null</tt> {@link GenericObjectPool.Config} describing my configuration     */    public FairGenericObjectPool(PoolableObjectFactory factory, GenericObjectPool.Config config) {        this(factory,config.maxActive,config.whenExhaustedAction,config.maxWait,config.maxIdle,config.minIdle,config.testOnBorrow,config.testOnReturn,config.timeBetweenEvictionRunsMillis,config.numTestsPerEvictionRun,config.minEvictableIdleTimeMillis,config.testWhileIdle);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     * @param maxActive the maximum number of objects that can be borrowed from me at one time (see {@link #setMaxActive})     */    public FairGenericObjectPool(PoolableObjectFactory factory, int maxActive) {        this(factory,maxActive,DEFAULT_WHEN_EXHAUSTED_ACTION,DEFAULT_MAX_WAIT,DEFAULT_MAX_IDLE,DEFAULT_MIN_IDLE,DEFAULT_TEST_ON_BORROW,DEFAULT_TEST_ON_RETURN,DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS,DEFAULT_NUM_TESTS_PER_EVICTION_RUN,DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS,DEFAULT_TEST_WHILE_IDLE);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     * @param maxActive the maximum number of objects that can be borrowed from me at one time (see {@link #setMaxActive})     * @param whenExhaustedAction the action to take when the pool is exhausted (see {@link #getWhenExhaustedAction})     * @param maxWait the maximum amount of time to wait for an idle object when the pool is exhausted an and <i>whenExhaustedAction</i> is {@link #WHEN_EXHAUSTED_BLOCK} (otherwise ignored) (see {@link #getMaxWait})     */    public FairGenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait) {        this(factory,maxActive,whenExhaustedAction,maxWait,DEFAULT_MAX_IDLE,DEFAULT_MIN_IDLE,DEFAULT_TEST_ON_BORROW,DEFAULT_TEST_ON_RETURN,DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS,DEFAULT_NUM_TESTS_PER_EVICTION_RUN,DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS,DEFAULT_TEST_WHILE_IDLE);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     * @param maxActive the maximum number of objects that can be borrowed from me at one time (see {@link #setMaxActive})     * @param whenExhaustedAction the action to take when the pool is exhausted (see {@link #getWhenExhaustedAction})     * @param maxWait the maximum amount of time to wait for an idle object when the pool is exhausted an and <i>whenExhaustedAction</i> is {@link #WHEN_EXHAUSTED_BLOCK} (otherwise ignored) (see {@link #getMaxWait})     * @param testOnBorrow whether or not to validate objects before they are returned by the {@link #borrowObject} method (see {@link #getTestOnBorrow})     * @param testOnReturn whether or not to validate objects after they are returned to the {@link #returnObject} method (see {@link #getTestOnReturn})     */    public FairGenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, boolean testOnBorrow, boolean testOnReturn) {        this(factory,maxActive,whenExhaustedAction,maxWait,DEFAULT_MAX_IDLE,DEFAULT_MIN_IDLE,testOnBorrow,testOnReturn,DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS,DEFAULT_NUM_TESTS_PER_EVICTION_RUN,DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS,DEFAULT_TEST_WHILE_IDLE);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     * @param maxActive the maximum number of objects that can be borrowed from me at one time (see {@link #setMaxActive})     * @param whenExhaustedAction the action to take when the pool is exhausted (see {@link #getWhenExhaustedAction})     * @param maxWait the maximum amount of time to wait for an idle object when the pool is exhausted an and <i>whenExhaustedAction</i> is {@link #WHEN_EXHAUSTED_BLOCK} (otherwise ignored) (see {@link #getMaxWait})     * @param maxIdle the maximum number of idle objects in my pool (see {@link #getMaxIdle})     */    public FairGenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle) {        this(factory,maxActive,whenExhaustedAction,maxWait,maxIdle,DEFAULT_MIN_IDLE,DEFAULT_TEST_ON_BORROW,DEFAULT_TEST_ON_RETURN,DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS,DEFAULT_NUM_TESTS_PER_EVICTION_RUN,DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS,DEFAULT_TEST_WHILE_IDLE);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     * @param maxActive the maximum number of objects that can be borrowed from me at one time (see {@link #setMaxActive})     * @param whenExhaustedAction the action to take when the pool is exhausted (see {@link #getWhenExhaustedAction})     * @param maxWait the maximum amount of time to wait for an idle object when the pool is exhausted an and <i>whenExhaustedAction</i> is {@link #WHEN_EXHAUSTED_BLOCK} (otherwise ignored) (see {@link #getMaxWait})     * @param maxIdle the maximum number of idle objects in my pool (see {@link #getMaxIdle})     * @param testOnBorrow whether or not to validate objects before they are returned by the {@link #borrowObject} method (see {@link #getTestOnBorrow})     * @param testOnReturn whether or not to validate objects after they are returned to the {@link #returnObject} method (see {@link #getTestOnReturn})     */    public FairGenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn) {        this(factory,maxActive,whenExhaustedAction,maxWait,maxIdle,DEFAULT_MIN_IDLE,testOnBorrow,testOnReturn,DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS,DEFAULT_NUM_TESTS_PER_EVICTION_RUN,DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS,DEFAULT_TEST_WHILE_IDLE);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     * @param maxActive the maximum number of objects that can be borrowed from me at one time (see {@link #setMaxActive})     * @param whenExhaustedAction the action to take when the pool is exhausted (see {@link #setWhenExhaustedAction})     * @param maxWait the maximum amount of time to wait for an idle object when the pool is exhausted an and <i>whenExhaustedAction</i> is {@link #WHEN_EXHAUSTED_BLOCK} (otherwise ignored) (see {@link #setMaxWait})     * @param maxIdle the maximum number of idle objects in my pool (see {@link #setMaxIdle})     * @param testOnBorrow whether or not to validate objects before they are returned by the {@link #borrowObject} method (see {@link #setTestOnBorrow})     * @param testOnReturn whether or not to validate objects after they are returned to the {@link #returnObject} method (see {@link #setTestOnReturn})     * @param timeBetweenEvictionRunsMillis the amount of time (in milliseconds) to sleep between examining idle objects for eviction (see {@link #setTimeBetweenEvictionRunsMillis})     * @param numTestsPerEvictionRun the number of idle objects to examine per run within the idle object eviction thread (if any) (see {@link #setNumTestsPerEvictionRun})     * @param minEvictableIdleTimeMillis the minimum number of milliseconds an object can sit idle in the pool before it is eligable for evcition (see {@link #setMinEvictableIdleTimeMillis})     * @param testWhileIdle whether or not to validate objects in the idle object eviction thread, if any (see {@link #setTestWhileIdle})     */    public FairGenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle) {        this(factory, maxActive, whenExhaustedAction, maxWait, maxIdle, DEFAULT_MIN_IDLE, testOnBorrow, testOnReturn, timeBetweenEvictionRunsMillis, numTestsPerEvictionRun, minEvictableIdleTimeMillis, testWhileIdle);    }    /**     * Create a new <tt>FairGenericObjectPool</tt> using the specified values.     * @param factory the (possibly <tt>null</tt>)PoolableObjectFactory to use to create, validate and destroy objects     * @param maxActive the maximum number of objects that can be borrowed from me at one time (see {@link #setMaxActive})     * @param whenExhaustedAction the action to take when the pool is exhausted (see {@link #setWhenExhaustedAction})     * @param maxWait the maximum amount of time to wait for an idle object when the pool is exhausted an and <i>whenExhaustedAction</i> is {@link #WHEN_EXHAUSTED_BLOCK} (otherwise ignored) (see {@link #setMaxWait})     * @param maxIdle the maximum number of idle objects in my pool (see {@link #setMaxIdle})     * @param minIdle the minimum number of idle objects in my pool (see {@link #setMinIdle})     * @param testOnBorrow whether or not to validate objects before they are returned by the {@link #borrowObject} method (see {@link #setTestOnBorrow})     * @param testOnReturn whether or not to validate objects after they are returned to the {@link #returnObject} method (see {@link #setTestOnReturn})     * @param timeBetweenEvictionRunsMillis the amount of time (in milliseconds) to sleep between examining idle objects for eviction (see {@link #setTimeBetweenEvictionRunsMillis})     * @param numTestsPerEvictionRun the number of idle objects to examine per run within the idle object eviction thread (if any) (see {@link #setNumTestsPerEvictionRun})     * @param minEvictableIdleTimeMillis the minimum number of milliseconds an object can sit idle in the pool before it is eligable for evcition (see {@link #setMinEvictableIdleTimeMillis})     * @param testWhileIdle whether or not to validate objects in the idle object eviction thread, if any (see {@link #setTestWhileIdle})     */    public FairGenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle) {        this(factory, maxActive, whenExhaustedAction, maxWait, maxIdle, minIdle, testOnBorrow, testOnReturn, timeBetweenEvictionRunsMillis, numTestsPerEvictionRun, minEvictableIdleTimeMillis, testWhileIdle, DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS);    }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产**成人网毛片九色| 91精品在线观看入口| 欧美精品123区| 日本一区二区三区免费乱视频| 亚洲四区在线观看| 国产在线视频精品一区| 欧美日韩精品三区| 亚洲图片你懂的| 国产一区二区免费看| 91精品在线一区二区| 中文字幕制服丝袜一区二区三区 | 亚洲精品ww久久久久久p站| 精品一区二区三区的国产在线播放| 91精品办公室少妇高潮对白| 久久综合资源网| 久久精品国产一区二区三区免费看| 日本黄色一区二区| 日韩美女视频19| 不卡在线视频中文字幕| 久久久不卡网国产精品二区| 日韩高清电影一区| 欧美色偷偷大香| 亚洲一区免费观看| 91久久国产综合久久| 亚洲免费观看高清完整版在线观看熊| 2欧美一区二区三区在线观看视频| 在线播放欧美女士性生活| 国产精品美女久久久久久2018| 国产麻豆成人传媒免费观看| 日韩欧美电影一区| 精品在线播放免费| 精品1区2区在线观看| 毛片不卡一区二区| 精品欧美乱码久久久久久1区2区| 青青草成人在线观看| 日韩午夜精品视频| 精品一区二区三区久久久| 日韩一区二区精品葵司在线| 美女久久久精品| 精品国产精品一区二区夜夜嗨| 久久99热这里只有精品| 久久久久久久av麻豆果冻| 成熟亚洲日本毛茸茸凸凹| 国产精品福利av| 91黄色免费看| 欧美96一区二区免费视频| 欧美精品一区二区三区蜜臀| 国产成人精品亚洲午夜麻豆| 国产精品久久一级| 欧美主播一区二区三区美女| 日本中文字幕一区二区视频| 精品999在线播放| 成人app网站| 性做久久久久久免费观看欧美| 在线不卡中文字幕播放| 精品一区二区久久| 中文字幕av一区二区三区 | 国产日韩精品视频一区| 高潮精品一区videoshd| 亚洲三级久久久| 欧美一区二视频| 国产成人精品三级| 一区二区三区电影在线播| 欧美日本国产视频| 丰满放荡岳乱妇91ww| 亚洲综合色自拍一区| 欧美成人一区二区三区片免费| 国产成人免费视频精品含羞草妖精| 自拍偷拍国产亚洲| 日韩一区二区免费在线观看| 成人黄色一级视频| 视频一区视频二区中文字幕| 欧美激情艳妇裸体舞| 欧美丝袜第三区| 国产v日产∨综合v精品视频| 亚洲动漫第一页| 国产精品亲子伦对白| 欧美精品一二三四| 不卡视频在线观看| 免费观看一级特黄欧美大片| 最新国产の精品合集bt伙计| 精品久久久久久久久久久院品网 | 国产精品一区二区三区四区| 亚洲欧美偷拍三级| 久久亚洲综合av| 欧美日韩高清影院| 成人18视频在线播放| 久久国产精品免费| 亚洲一区二区在线观看视频 | 日韩一区二区三区三四区视频在线观看 | 亚洲电影一区二区三区| 久久久国产精华| 欧美一区二区三区喷汁尤物| 91在线精品秘密一区二区| 精品亚洲成a人在线观看| 首页综合国产亚洲丝袜| 亚洲四区在线观看| 国产精品欧美久久久久一区二区| 日韩免费视频一区| 欧美美女bb生活片| 欧美综合视频在线观看| 91在线一区二区三区| 国产成人啪免费观看软件| 免费在线观看成人| 偷拍一区二区三区四区| 亚洲午夜在线视频| 亚洲人成网站精品片在线观看 | 天涯成人国产亚洲精品一区av| 成人欧美一区二区三区1314| 欧美激情在线一区二区| 久久新电视剧免费观看| 日韩欧美一卡二卡| 精品免费视频一区二区| 欧美精品一区在线观看| 精品免费一区二区三区| 亚洲精品在线三区| 久久免费国产精品| 久久久久久电影| 欧美国产欧美综合| 中文字幕日韩av资源站| 亚洲精品日韩一| 亚洲精品va在线观看| 亚洲成av人片在www色猫咪| 亚洲一二三区视频在线观看| 亚洲永久免费av| 丝袜亚洲另类欧美综合| 日精品一区二区三区| 青青草国产成人av片免费| 精品一区二区在线免费观看| 国内久久精品视频| 国产精品一级黄| 不卡大黄网站免费看| 欧美视频一区在线观看| 91精品国产综合久久久久久漫画| 日韩欧美综合一区| 久久蜜桃av一区二区天堂| 国产精品素人一区二区| 一区二区三区四区视频精品免费| 天堂一区二区在线| 精品一区二区综合| 色天天综合色天天久久| 欧美剧情片在线观看| 精品久久久久久亚洲综合网| 国产精品久线在线观看| 亚洲国产毛片aaaaa无费看| 久久国产精品72免费观看| 国产高清在线精品| 欧美三级视频在线| 久久久久久久久岛国免费| 亚洲欧美国产77777| 日本在线不卡一区| www.亚洲免费av| 在线播放中文一区| 国产精品国产自产拍高清av王其 | 亚洲乱码日产精品bd| 日本在线观看不卡视频| 99视频精品全部免费在线| 欧美日韩国产高清一区| 久久久亚洲高清| 亚洲一区二区高清| 国内精品视频666| 色狠狠一区二区三区香蕉| 欧美成人乱码一区二区三区| 亚洲色图一区二区| 国产精品一二三四| 欧美调教femdomvk| 亚洲欧美自拍偷拍色图| 日本在线观看不卡视频| 色一区在线观看| 久久九九国产精品| 天堂久久一区二区三区| av中文字幕不卡| 26uuu久久天堂性欧美| 亚洲无人区一区| 成人高清伦理免费影院在线观看| 欧美videofree性高清杂交| 一区二区成人在线| 99久久精品国产网站| 欧美精品一区二区三区在线播放 | 精品精品欲导航| 亚洲一区二区在线观看视频| 成人av一区二区三区| 日韩免费高清av| 日本在线不卡视频一二三区| 欧美中文一区二区三区| 亚洲日本护士毛茸茸| 国产91色综合久久免费分享| 精品久久久久久久久久久久久久久久久 | 六月丁香婷婷久久| 欧美乱妇15p| 亚洲大片精品永久免费| 91传媒视频在线播放| 亚洲黄色免费电影| 99久久婷婷国产综合精品 | 91色|porny| 欧美国产成人在线| 成人午夜短视频| 国产情人综合久久777777| 国产精品12区| 国产婷婷一区二区|