@Introspected public class DefaultRetryPredicate extends java.lang.Object implements RetryPredicate
Constructor and Description |
---|
DefaultRetryPredicate()
Default constructor.
|
DefaultRetryPredicate(java.util.List<java.lang.Class<? extends java.lang.Throwable>> includes,
java.util.List<java.lang.Class<? extends java.lang.Throwable>> excludes) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(java.lang.Throwable exception) |
public DefaultRetryPredicate(java.util.List<java.lang.Class<? extends java.lang.Throwable>> includes, java.util.List<java.lang.Class<? extends java.lang.Throwable>> excludes)
includes
- Classes to include for retryexcludes
- Classes to exclude for retrypublic DefaultRetryPredicate()