Interface DispatchQueue<T>

    • Method Detail

      • dequeue

        java.util.Map.Entry<java.lang.String,​T> dequeue()
                                                       throws java.lang.InterruptedException
        Retrieves and removes the head of this queue, waiting if necessary until an element becomes available.
        Throws:
        java.lang.InterruptedException - if interrupted while waiting
      • isFull

        boolean isFull()
        Returns:
        true if the queue has no more capacity, false otherwise
      • getSize

        int getSize()
        Returns:
        the current number of queued items