Lines Matching defs:timeout
272 * timeout). The relative complexity of using one monolithic
393 * empirically to balance these under various timeout scenarios.
657 * @param nanos timeout in nanosecs, used only if mode is TIMED
699 * @param timed if true, wait only until timeout elapses
700 * @param nanos timeout in nanosecs, used only if timed is true
701 * @return matched item, or e if unmatched on interrupt or timeout
1282 public boolean offer(E e, long timeout, TimeUnit unit) {
1346 * before the timeout elapses.
1358 public boolean tryTransfer(E e, long timeout, TimeUnit unit)
1360 if (xfer(e, true, TIMED, unit.toNanos(timeout)) == null)
1375 public E poll(long timeout, TimeUnit unit) throws InterruptedException {
1376 E e = xfer(null, false, TIMED, unit.toNanos(timeout));