m_freeList = new ArrayList( a_config.getIncrement() ) ; m_inUseList = new ArrayList( a_config.getIncrement() ) ; m_interestLists = new HashMap( a_config.getIncrement() ) ;
m_freeList = new ArrayList( a_config.getMaximumSize() ) ; m_inUseList = new ArrayList( a_config.getMaximumSize() ) ; m_allList = new ArrayList( a_config.getMaximumSize() ) ;
    public DefaultBufferPool( BufferPoolConfig a_config )    {        super() ;                m_config = a_config ;        m_freeList = new ArrayList( a_config.getIncrement() ) ;        m_inUseList = new ArrayList( a_config.getIncrement() ) ;        m_interestLists = new HashMap( a_config.getIncrement() ) ;        for( int ii = 0; ii < m_config.getInitialSize(); ii++ )        {            ByteBuffer l_buf = ByteBuffer.allocateDirect( m_config                    .getBufferSize() ) ;            m_freeList.add( l_buf ) ;                        // create interest lists in advance for the buffers            m_interestLists.put( l_buf, new ArrayList( 3 ) ) ;        }    }