Examples of LinkedQueue


Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

            long threadKeepAliveTime, boolean unlimitedQueue, URL resUrl) {

        this.instRep = instRep;
        Channel c = null;
        if (unlimitedQueue) {
            c = new LinkedQueue();
        } else {
            c = new BoundedBuffer(queueSize);
        }

        pool = new PooledExecutor(c, maxPoolSize);
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

            long threadKeepAliveTime, boolean unlimitedQueue, URL resUrl) {

        this.instRep = instRep;
        Channel c = null;
        if (unlimitedQueue) {
            c = new LinkedQueue();
        } else {
            c = new BoundedBuffer(queueSize);
        }

        pool = new PooledExecutor(c, maxPoolSize);
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

     * subclasses override to provide their own queue implementation
     */
    protected Channel createQueue()
    {
        // use an unbound buffer
        return new LinkedQueue();
    }
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

      long threadKeepAliveTime, boolean unlimitedQueue, URL resUrl) {

    this.instRep = instRep;
    Channel c = null;
    if (unlimitedQueue) {
      c = new LinkedQueue();
    } else {
      c = new BoundedBuffer(queueSize);
    }

    pool = new PooledExecutor(c, maxPoolSize);
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

            }
            // attempt connection back
            clientInvoker = InvokerRegistry.createClientInvoker(locator);
            clientInvoker.connect();
            client = new Client(Thread.currentThread().getContextClassLoader(), clientInvoker, Subsystem.JMX);
            asyncQueue = new LinkedQueue();
            biDirectionalSender = new BiDirectionClientNotificationSender();
            biDirectionalSender.start();
            asyncSend = true;
         }
         catch(Throwable e)
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

    {
       private LinkedQueue buffer;

       public SimpleFailoverListener()
       {
          buffer = new LinkedQueue();
       }
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

   private synchronized void init()
   {
      if (failures == null)
      {
         failures = new LinkedQueue();
      }
   }
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

   // Constructors ---------------------------------------------------------------------------------

   public RemotingTestSubsystem()
   {
      invocationHistory = new LinkedQueue();
      callbackListeners = new ArrayList();
   }
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

        if (count < MIN_THREAD_COUNT) {
            count = MIN_THREAD_COUNT;
        }

        // create the thread pool
        _threads = factory.create(SCHEDULER_NAME, new LinkedQueue(), count);
        _threads.setMinimumPoolSize(count);
        _threads.setKeepAliveTime(-1); // live forever
    }
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

   {
      private LinkedQueue buffer;

      public SimpleFailoverListener()
      {
         buffer = new LinkedQueue();
      }
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.