Lines Matching refs:timeout
320 * {@code timeout} is zero, however, then real time is not taken into
344 * obj.wait(timeout);
370 * @param timeout the maximum time to wait in milliseconds.
371 * @exception IllegalArgumentException if the value of timeout is
383 public final native void wait(long timeout) throws InterruptedException;
398 * 1000000*timeout+nanos</pre></blockquote>
411 * <li>The timeout period, specified by {@code timeout}
424 * obj.wait(timeout, nanos);
433 * @param timeout the maximum time to wait in milliseconds.
436 * @exception IllegalArgumentException if the value of timeout is
447 public final void wait(long timeout, int nanos) throws InterruptedException {
448 if (timeout < 0) {
449 throw new IllegalArgumentException("timeout value is negative");
454 "nanosecond timeout value out of range");
457 if (nanos >= 500000 || (nanos != 0 && timeout == 0)) {
458 timeout++;
461 wait(timeout);