Package io.debezium.embedded.async
Class RetryingCallable<V>
java.lang.Object
io.debezium.embedded.async.RetryingCallable<V>
- All Implemented Interfaces:
Callable<V>
- Direct Known Subclasses:
AsyncEmbeddedEngine.PollRecords
Extension to
Callable
, which allows to re-try the action if exception is thrown during the execution.
The action is re-tried retries
number of times.
The delay between retries is defined by DelayStrategy
, which needs to be provided by the implementing class.- Author:
- vjuranek
-
Field Summary
-
Constructor Summary
-
Method Summary