Class FairBlockingQueue.ExchangeCountDownLatch<T>

  • Enclosing class:
    FairBlockingQueue<E>

    protected class FairBlockingQueue.ExchangeCountDownLatch<T>
    extends java.util.concurrent.CountDownLatch
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected T item  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getItem()  
      void setItem​(T item)  
      • Methods inherited from class java.util.concurrent.CountDownLatch

        await, await, countDown, getCount, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • item

        protected volatile T item
    • Constructor Detail

      • ExchangeCountDownLatch

        public ExchangeCountDownLatch​(int i)
    • Method Detail

      • getItem

        public T getItem()
      • setItem

        public void setItem​(T item)