public class PersistenceExceptionSubclassFilterRetryPredicate extends DatabaseRetryPredicate
DatabaseRetryPredicate which applies when a given Exception (or its causes) are NOT blacklisted.
Blacklisted exceptions in this class do not indicate a network failure, therefore no retry should take place.
| Constructor and Description |
|---|
PersistenceExceptionSubclassFilterRetryPredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Throwable throwable) |
getAllExceptionspublic PersistenceExceptionSubclassFilterRetryPredicate()
public boolean apply(Throwable throwable)
apply in interface com.google.common.base.Predicate<Throwable>apply in class DatabaseRetryPredicateCopyright © 2018 Apache Software Foundation. All rights reserved.