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(java.lang.Throwable throwable) |
getAllExceptionspublic PersistenceExceptionSubclassFilterRetryPredicate()
public boolean apply(java.lang.Throwable throwable)
apply in interface com.google.common.base.Predicate<java.lang.Throwable>apply in class DatabaseRetryPredicateCopyright © 2018 Apache Software Foundation. All Rights Reserved.