Interface ConcurrentQueueProducer<E>

    • Method Detail

      • offer

        boolean offer​(E e)
        Parameters:
        e -
        Returns:
        true if e was successfully offered, false if queue is full
      • weakOffer

        boolean weakOffer​(E e)
        Parameters:
        e -
        Returns:
        true if e was successfully offered, false if not able to offer (queue may not be full)