Package fr.gouv.vitam.common.retryable
Class RetryableOnException<T,E extends Exception>
java.lang.Object
fr.gouv.vitam.common.retryable.RetryableOnException<T,E>
- All Implemented Interfaces:
Retryable<T,E>
-
Constructor Summary
ConstructorsConstructorDescriptionRetryableOnException(RetryableParameters param, Predicate<Exception> retryOn) RetryableOnException(RetryableParameters param, Predicate<Exception> retryOn, Consumer<Exception> onException) -
Method Summary
Modifier and TypeMethodDescriptionexec(DelegateRetry<T, E> delegate) voidexecute(DelegateRetryVoid<E> delegate)
-
Constructor Details
-
RetryableOnException
public RetryableOnException(RetryableParameters param, Predicate<Exception> retryOn, Consumer<Exception> onException) -
RetryableOnException
-
RetryableOnException
-
-
Method Details