Package EDU.oswego.cs.dl.util.concurrent

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


            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

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

      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

            }
            // 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

    {
       private LinkedQueue buffer;

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

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

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

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

        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

   {
      private LinkedQueue buffer;

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

TOP

Related Classes of EDU.oswego.cs.dl.util.concurrent.LinkedQueue

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.