Class RetryExceptionPredicate
java.lang.Object
org.springframework.data.neo4j.core.support.RetryExceptionPredicate
@API(status=STABLE,
since="6.0")
public final class RetryExceptionPredicate
extends Object
implements Predicate<Throwable>
A predicate indicating true for
throwables
that can be safely retried and false
in any other case. This predicate can be used for example with Resilience4j.- Since:
- 6.0
- Author:
- Michael J. Simons
-
Field Details
-
TRANSACTION_MUST_BE_OPEN_BUT_HAS_ALREADY_BEEN_CLOSED
- See Also:
-
SESSION_MUST_BE_OPEN_BUT_HAS_ALREADY_BEEN_CLOSED
- See Also:
-
-
Constructor Details
-
RetryExceptionPredicate
public RetryExceptionPredicate()
-
-
Method Details