public class Polling extends Object
| Constructor and Description |
|---|
Polling() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
await(long timeout,
TimeUnit timeUnit,
Callable<T> callable) |
static <T> T |
awaitUnchecked(long timeout,
TimeUnit timeUnit,
Callable<T> callable) |
public static <T> T await(long timeout,
TimeUnit timeUnit,
Callable<T> callable)
throws Exception
Exceptionpublic static <T> T awaitUnchecked(long timeout,
TimeUnit timeUnit,
Callable<T> callable)
throws TimeoutException
TimeoutExceptionCopyright © 2015. All rights reserved.