Examples of UnboundedFifoBuffer


Examples of org.apache.commons.collections.UnboundedFifoBuffer

     *
     * @return queue.
     */
    protected Buffer createQueueBuffer()
    {
        return new UnboundedFifoBuffer(100);
    }
View Full Code Here

Examples of org.apache.commons.collections.UnboundedFifoBuffer

    public void clearEvents(FacesContext context) {
  int len;
  events = new Buffer[len = PhaseId.VALUES.size()];
  for (int i = 0; i < len; i++) {
      events[i] = new UnboundedFifoBuffer();
  }
    }
View Full Code Here

Examples of org.apache.commons.collections.UnboundedFifoBuffer

     * Constructor for a managed pool
     */
    public VariableSizePool( ObjectFactory factory, int size, long key )
        throws Exception
    {
        m_buffer = new UnboundedFifoBuffer( size );
        m_factory = factory;
        m_key = key;

        synchronized( m_factory )
        {
View Full Code Here

Examples of org.apache.commons.collections.UnboundedFifoBuffer

    public DefaultQueue( EnqueuePredicate predicate )
    {
        setEnqueuePredicate( predicate );

        m_mutex = new ReentrantLock();
        m_elements = new UnboundedFifoBuffer();
        m_reserve = 0;
        m_maxSize = -1;
    }
View Full Code Here

Examples of org.apache.commons.collections.UnboundedFifoBuffer

    public DefaultQueue( EnqueuePredicate predicate )
    {
        setEnqueuePredicate( predicate );

        m_mutex = new ReentrantLock();
        m_elements = new UnboundedFifoBuffer();
        m_reserve = 0;
        m_maxSize = -1;
    }
View Full Code Here

Examples of org.apache.commons.collections.UnboundedFifoBuffer

     * Constructor for a managed pool
     */
    public VariableSizePool( ObjectFactory factory, int size, long key )
        throws Exception
    {
        m_buffer = new UnboundedFifoBuffer( size );
        m_factory = factory;
        m_key = key;

        synchronized( m_factory )
        {
View Full Code Here

Examples of org.apache.commons.collections.UnboundedFifoBuffer

     * Constructor for a managed pool
     */
    public VariableSizePool( ObjectFactory factory, int size, long key )
        throws Exception
    {
        m_buffer = new UnboundedFifoBuffer( size );
        m_factory = factory;
        m_key = key;

        synchronized( m_factory )
        {
View Full Code Here

Examples of org.apache.commons.collections.UnboundedFifoBuffer

    public DefaultQueue( EnqueuePredicate predicate )
    {
        setEnqueuePredicate( predicate );

        m_mutex = new ReentrantLock();
        m_elements = new UnboundedFifoBuffer();
        m_reserve = 0;
        m_maxSize = -1;
    }
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.