BlockingQueue.take

Retrieves and removes the head of this queue, waiting if necessary until an element becomes available.

@return the head of this queue @throws InterruptedException if interrupted while waiting

interface BlockingQueue(E)
E
take
()

Meta