public interface Timeoutable
| Modifier and Type | Method and Description |
|---|---|
Object |
withTimeout(long timeout,
TimeUnit unit)
Wait for the given operation timeout.
|
Object |
withTimeoutInMillis(long timeoutInMillis)
Wait for the given operation timeout in milliseconds.
|
Object withTimeout(long timeout, TimeUnit unit)
timeout - 0 indicates no waitunit - Object withTimeoutInMillis(long timeoutInMillis)
timeoutInMillis - 0 indicates no waitCopyright © 2015–2024 Red Hat. All rights reserved.