Class ConcurrentQueueNonBlockingImpl<V>

    • Constructor Detail

      • ConcurrentQueueNonBlockingImpl

        public ConcurrentQueueNonBlockingImpl()
    • Method Detail

      • size

        public int size()
        Description copied from interface: ConcurrentQueue
        Return the number of elements in the queue.
        Specified by:
        size in interface ConcurrentQueue<V>
      • poll

        public V poll()
        Return an element from the head of the queue. The element is removed from the queue.
        Specified by:
        poll in interface ConcurrentQueue<V>