public class ElementActionRetrier extends ActionRetrier implements IElementActionRetrier
| Constructor and Description |
|---|
ElementActionRetrier(IRetryConfiguration retryConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
doWithRetry(Runnable runnable)
Retries the action when the handled exception
IElementActionRetrier.getHandledExceptions() occurs. |
<T> T |
doWithRetry(Supplier<T> function)
Retries the function when the handled exception
IElementActionRetrier.getHandledExceptions() occurs. |
doWithRetry, doWithRetry, isExceptionHandledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHandledExceptionsdoWithRetry, doWithRetry@Inject public ElementActionRetrier(IRetryConfiguration retryConfiguration)
public void doWithRetry(Runnable runnable)
IElementActionRetrierIElementActionRetrier.getHandledExceptions() occurs.doWithRetry in interface IElementActionRetrierrunnable - Action to be applied.public <T> T doWithRetry(Supplier<T> function)
IElementActionRetrierIElementActionRetrier.getHandledExceptions() occurs.doWithRetry in interface IElementActionRetrierT - Return type of function.function - Function to be applied.Copyright © 2020. All rights reserved.