Examples of WaiterFactory


Examples of org.apache.commons.pool.WaiterFactory

    /**
     * Test case for POOL-180.
     */
    public void testMaxActivePerKeyExceeded() {
        WaiterFactory factory = new WaiterFactory(0, 20, 0, 0, 0, 0, 8, 5, 0);
        pool = new GenericKeyedObjectPool(factory);
        pool.setMaxActive(5);
        pool.setMaxTotal(8);
        pool.setTestOnBorrow(true);
        pool.setMaxIdle(5);
View Full Code Here

Examples of org.apache.commons.pool.WaiterFactory

    /**
     * Test case for POOL-180.
     */
    public void testMaxActivePerKeyExceeded() {
        WaiterFactory factory = new WaiterFactory(0, 20, 0, 0, 0, 0, 8, 5, 0);
        pool = new GenericKeyedObjectPool(factory);
        pool.setMaxActive(5);
        pool.setMaxTotal(8);
        pool.setTestOnBorrow(true);
        pool.setMaxIdle(5);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.