Home | History | Annotate | Download | only in jsr166

Lines Matching refs:Future

148      * milliseconds in the future.
441 * Checks that future.get times out, with the default timeout of
444 void assertFutureTimesOut(Future future) {
445 assertFutureTimesOut(future, timeoutMillis());
449 * Checks that future.get times out, with the given millisecond timeout.
451 void assertFutureTimesOut(Future future, long timeoutMillis) {
454 future.get(timeoutMillis, MILLISECONDS);
459 } finally { future.cancel(true); }