Lines Matching refs:poll
271 * of offer, put, poll, take, or transfer (each possibly with
289 * possible. If this call was untimed poll or tryTransfer
366 * poll repeatedly time out at the trailing node but otherwise
646 private static final int NOW = 0; // for untimed poll, tryTransfer
649 private static final int TIMED = 3; // for timed poll, tryTransfer
1317 * {@link #take} or timed {@link #poll(long,TimeUnit) poll}),
1331 * {@link #take} or timed {@link #poll(long,TimeUnit) poll}),
1350 * {@link #take} or timed {@link #poll(long,TimeUnit) poll}),
1375 public E poll(long timeout, TimeUnit unit) throws InterruptedException {
1382 public E poll() {
1395 for (E e; (e = poll()) != null; n++)
1409 for (E e; n < maxElements && (e = poll()) != null; n++)