Package | Description |
---|---|
alluxio.util |
Modifier and Type | Method and Description |
---|---|
static WaitForOptions |
WaitForOptions.defaults() |
WaitForOptions |
WaitForOptions.setInterval(int intervalMs) |
WaitForOptions |
WaitForOptions.setThrowOnTimeout(boolean throwOnTimeout) |
WaitForOptions |
WaitForOptions.setTimeoutMs(int timeoutMs) |
Modifier and Type | Method and Description |
---|---|
static boolean |
CommonUtils.waitFor(String description,
com.google.common.base.Function<Void,Boolean> condition,
WaitForOptions options)
Waits for a condition to be satisfied.
|
static <T> T |
CommonUtils.waitForResult(String description,
com.google.common.base.Function<Void,T> operation,
WaitForOptions options)
Waits for an operation to return a non-null value with a specified timeout.
|
Copyright © 2023. All Rights Reserved.