Package org.apache.avalon.excalibur.pool

Examples of org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool


                                       final long trimInterval )
    {
        super( name );

        m_underlyingPool =
            new InstrumentedResourceLimitingPool( this, max, maxStrict,
                                      blocking, blockTimeout,
                                      trimInterval );
        try
        {
            m_pool = new BasicThreadPool( this, name, m_underlyingPool );
View Full Code Here


                                       final long trimInterval )
    {
        super( name );

        m_underlyingPool =
            new InstrumentedResourceLimitingPool( this, max, maxStrict,
                                      blocking, blockTimeout,
                                      trimInterval );
        try
        {
            m_pool = new BasicThreadPool( this, name, m_underlyingPool );
View Full Code Here

        boolean poolMaxStrict = config.getAttributeAsBoolean( "pool-max-strict", false );
        boolean poolBlocking = config.getAttributeAsBoolean( "pool-blocking", true );
        long poolTimeout = config.getAttributeAsLong( "pool-timeout", 0 );
        long poolTrimInterval = config.getAttributeAsLong( "pool-trim-interval", 0 );

        m_pool = new InstrumentedResourceLimitingPool( m_factory, poolMax, poolMaxStrict, poolBlocking,
                                           poolTimeout, poolTrimInterval );
        // Initialize the Instrumentable elements.
        addChildInstrumentable( m_pool );
    }
View Full Code Here

        boolean poolMaxStrict = config.getAttributeAsBoolean( "pool-max-strict", false );
        boolean poolBlocking = config.getAttributeAsBoolean( "pool-blocking", true );
        long poolTimeout = config.getAttributeAsLong( "pool-timeout", 0 );
        long poolTrimInterval = config.getAttributeAsLong( "pool-trim-interval", 0 );

        m_pool = new InstrumentedResourceLimitingPool( m_factory, poolMax, poolMaxStrict, poolBlocking,
                                           poolTimeout, poolTrimInterval );
        // Initialize the Instrumentable elements.
        addChildInstrumentable( m_pool );
    }
View Full Code Here

TOP

Related Classes of org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool

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.