@FunctionalInterface public static interface RetryExecutor.RetryTask
| Modifier and Type | Method and Description |
|---|---|
void |
call(int attemptCount)
Contains the code block, which should be executed.
|
void call(int attemptCount) throws Exception
attemptCount - A counter starting with zero and is increased in the case that this method throws an exception and is therefore
called again.Exception - An exception, which might occur during processing of the code block. When an exception is thrown, this method
will be called again with attemptCount + 1.
calledCopyright © 2020 LeanIX GmbH. All rights reserved.