public interface RetryPredicate<T,C extends Callable<? extends T>>
Modifier and Type | Field and Description |
---|---|
static RetryPredicate |
NORETRY
Simple predicate that does not retry anything.
|
Modifier and Type | Method and Description |
---|---|
RetryDecision<T,C> |
getDecision(T value,
C what)
Get the RetryDecision for the result value returned by Callable C.
|
RetryDecision<T,C> |
getExceptionDecision(Exception value,
C what) |
static final RetryPredicate NORETRY
Copyright © 2018 SPF4J. All rights reserved.