Package | Description |
---|---|
com.ibm.cloud.objectstorage.test.retry |
Modifier and Type | Method and Description |
---|---|
RetryableParams |
RetryableParams.withDelayInMs(int delayInMs) |
RetryableParams |
RetryableParams.withMaxAttempts(int maxAttempts) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
RetryableAction.doRetryableAction(Callable<T> callable,
RetryableParams params)
Static method to repeatedly call action until it succeeds or the max allowed attempts is
reached.
|
static void |
RetryableAssertion.doRetryableAssert(AssertCallable callable,
RetryableParams params)
Static method to repeatedly call assertion logic until it succeeds or the max allowed
attempts is reached.
|
Copyright © 2024. All rights reserved.