Lines Matching defs:timeout
52 * the following code will timeout in 50 milliseconds if the {@link
58 * while this code will timeout in 50 seconds:
64 * Note however, that there is no guarantee that a particular timeout
296 * This is a convenience method that converts timeout arguments
304 * public synchronized Object poll(long timeout, TimeUnit unit)
307 * unit.timedWait(this, timeout);
313 * @param timeout the maximum time to wait. If less than
317 public void timedWait(Object obj, long timeout)
319 if (timeout > 0) {
320 long ms = toMillis(timeout);
321 int ns = excessNanos(timeout, ms);
333 * @param timeout the maximum time to wait. If less than
337 public void timedJoin(Thread thread, long timeout)
339 if (timeout > 0) {
340 long ms = toMillis(timeout);
341 int ns = excessNanos(timeout, ms);
352 * @param timeout the minimum time to sleep. If less than
356 public void sleep(long timeout) throws InterruptedException {
357 if (timeout > 0) {
358 long ms = toMillis(timeout);
359 int ns = excessNanos(timeout, ms);