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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TRANSACTION_MUST_BE_OPEN_BUT_HAS_ALREADY_BEEN_CLOSED
A known message indicating retryable errors before they had been marked retryable.- See Also:
-
SESSION_MUST_BE_OPEN_BUT_HAS_ALREADY_BEEN_CLOSED
A known message indicating retryable errors before they had been marked retryable.- See Also:
-
-
Constructor Details
-
RetryExceptionPredicate
public RetryExceptionPredicate()
-
-
Method Details
-
test
-