Package org.apache.excalibur.mpool

Examples of org.apache.excalibur.mpool.VariableSizePool


        ClassInstanceObjectFactory factory = new ClassInstanceObjectFactory( poolableClass, m_poolLogger );
        int max = 100;

        FixedSizePool poolA = new FixedSizePool( factory, max );

        VariableSizePool poolB = new VariableSizePool( factory, max );

        generalTest( name, poolA, poolB, 100, factory );
    }
View Full Code Here


        ClassInstanceObjectFactory factory = new ClassInstanceObjectFactory( poolableClass, m_poolLogger );
        int max = 100;

        FixedSizePool poolA = new FixedSizePool( factory, max );

        VariableSizePool poolB = new VariableSizePool( factory, max );

        generalTest( name, poolA, poolB, 100, factory );
    }
View Full Code Here

        ClassInstanceObjectFactory factory = new ClassInstanceObjectFactory( poolableClass, m_poolLogger );
        int max = 100;

        FixedSizePool poolA = new FixedSizePool( factory, max );

        VariableSizePool poolB = new VariableSizePool( factory, max );

        generalTest( name, poolA, poolB, 100, factory );
    }
View Full Code Here

        boolean maxStrict = false;
        boolean blocking = false;
        long blockTimeout = 0;
        long trimInterval = 0;

        VariableSizePool poolA = new VariableSizePool( factory, max );

        ResourceLimitingPool poolB = new ResourceLimitingPool( factory, max, maxStrict, blocking, blockTimeout, trimInterval );
        poolB.enableLogging( m_poolLogger );

        generalTest( name, poolA, poolB, 100, factory );
View Full Code Here

        boolean maxStrict = false;
        boolean blocking = false;
        long blockTimeout = 0;
        long trimInterval = 0;

        VariableSizePool poolA = new VariableSizePool( factory, max );

        ResourceLimitingPool poolB = new ResourceLimitingPool( factory, max, maxStrict, blocking, blockTimeout, trimInterval );
        poolB.enableLogging( m_poolLogger );

        generalTest( name, poolA, poolB, 200, factory );
View Full Code Here

        boolean maxStrict = false;
        boolean blocking = false;
        long blockTimeout = 0;
        long trimInterval = 0;

        VariableSizePool poolA = new VariableSizePool( factory, max );

        ResourceLimitingPool poolB = new ResourceLimitingPool( factory, max, maxStrict, blocking, blockTimeout, trimInterval );
        poolB.enableLogging( m_poolLogger );

        generalTest( name, poolA, poolB, 100, factory );
View Full Code Here

        boolean maxStrict = false;
        boolean blocking = false;
        long blockTimeout = 0;
        long trimInterval = 0;

        VariableSizePool poolA = new VariableSizePool( factory, max );

        ResourceLimitingPool poolB = new ResourceLimitingPool( factory, max, maxStrict, blocking, blockTimeout, trimInterval );
        poolB.enableLogging( m_poolLogger );

        generalTest( name, poolA, poolB, 200, factory );
View Full Code Here

        boolean maxStrict = false;
        boolean blocking = false;
        long blockTimeout = 0;
        long trimInterval = 0;

        VariableSizePool poolA = new VariableSizePool( factory, max );

        ResourceLimitingPool poolB = new ResourceLimitingPool( factory, max, maxStrict, blocking, blockTimeout, trimInterval );
        poolB.enableLogging( m_poolLogger );

        generalTest( name, poolA, poolB, 100, factory );
View Full Code Here

        boolean maxStrict = false;
        boolean blocking = false;
        long blockTimeout = 0;
        long trimInterval = 0;

        VariableSizePool poolA = new VariableSizePool( factory, max );

        ResourceLimitingPool poolB = new ResourceLimitingPool( factory, max, maxStrict, blocking, blockTimeout, trimInterval );
        poolB.enableLogging( m_poolLogger );

        generalTest( name, poolA, poolB, 200, factory );
View Full Code Here

        ClassInstanceObjectFactory factory = new ClassInstanceObjectFactory( poolableClass, m_poolLogger );
        int max = 100;

        FixedSizePool poolA = new FixedSizePool( factory, max );

        VariableSizePool poolB = new VariableSizePool( factory, max );

        generalTest( name, poolA, poolB, 100, factory );
    }
View Full Code Here

TOP

Related Classes of org.apache.excalibur.mpool.VariableSizePool

Copyright © 2018 www.massapicom. 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.