Package org.apache.avalon.excalibur.pool

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


        //  m_pool will be null.  This can be difficult to avoid as there
        //  is no way to query whether or not all workers have actually been
        //  released.  Underlying pool implementations should probably block
        //  on their dispose methods until all outstanding objects have been
        //  returned.
        Pool pool = m_pool;  // Be thread safe
        if ( pool != null )
        {
            pool.put( (SimpleWorkerThread)worker );
        }
    }
View Full Code Here


        //  m_pool will be null.  This can be difficult to avoid as there
        //  is no way to query whether or not all workers have actually been
        //  released.  Underlying pool implementations should probably block
        //  on their dispose methods until all outstanding objects have been
        //  returned.
        Pool pool = m_pool;  // Be thread safe
        if ( pool != null )
        {
            pool.put( (SimpleWorkerThread)worker );
        }
    }
View Full Code Here

TOP

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

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.