| Modifier and Type | Optional Element and Description |
|---|---|
double |
backoffExponent
The amount to multiply backoff time by for each failure
|
long |
backoffTime
the backoff wait amount
|
TimeUnit |
backoffUnit
The backoff wait unit
|
Class<? extends Throwable>[] |
exceptOn
The exception types which, if thrown, will bypass retry logic altogether
|
Class<? extends Throwable>[] |
exceptOnCore
The core exception types which, if thrown, will bypass retry logic altogether.
These are set to sensible defaults for regular Java code (Errors, IllegalArgumentExceptions and NullPointerExceptions) |
int |
maxAttempts
The maximum number of attempts before the exception is thrown as normal
|
Class<? extends Throwable>[] |
on
The exception types which, if thrown, will cause retry.
|
public abstract long backoffTime
public abstract TimeUnit backoffUnit
public abstract double backoffExponent
public abstract int maxAttempts
public abstract Class<? extends Throwable>[] on
public abstract Class<? extends Throwable>[] exceptOn
public abstract Class<? extends Throwable>[] exceptOnCore
Copyright © 2014. All rights reserved.