Package com.sdl.delivery.retry
Class FunctionRetryBlock<P,R,E extends Throwable>
java.lang.Object
com.sdl.delivery.retry.AbstractRetryBlock<P,E>
com.sdl.delivery.retry.FunctionRetryBlock<P,R,E>
- Type Parameters:
P- parameter typeR- result typeE- exception type
Used to perform retries. Based on
Function.-
Constructor Summary
ConstructorsConstructorDescriptionFunctionRetryBlock(ThrowableFunction<P, R, E> function, Supplier<P> propertyProvider) FunctionRetryBlock(ThrowableFunction<P, R, E> function, Supplier<P> propertyProvider, int maxRetryCount, int attemptDelayFactor) -
Method Summary
Methods inherited from class com.sdl.delivery.retry.AbstractRetryBlock
getAttempt, getMaxRetryCount, getPropertyProvider, incrementAttempt, retryIfNecessary