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) |
getAllExceptions
public PersistenceExceptionSubclassFilterRetryPredicate()
public boolean apply(Throwable throwable)
apply
in interface com.google.common.base.Predicate<Throwable>
apply
in class DatabaseRetryPredicate
Copyright © 2018 Apache Software Foundation. All rights reserved.