Package fr.gouv.vitam.common.retryable
Class RetryableOnResult<T,E extends Exception>
java.lang.Object
fr.gouv.vitam.common.retryable.RetryableOnResult<T,E>
- All Implemented Interfaces:
Retryable<T,
E>
-
Constructor Summary
ConstructorDescriptionRetryableOnResult
(RetryableParameters param, Predicate<T> retryOn) RetryableOnResult
(RetryableParameters param, Predicate<T> retryOn, Consumer<T> onResult) -
Method Summary
Modifier and TypeMethodDescriptionexec
(DelegateRetry<T, E> delegate) void
execute
(DelegateRetryVoid<E> delegate)