public abstract class Retryable extends Object
| Constructor and Description |
|---|
Retryable() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
attempt() |
void |
execute(long interval,
long timeout) |
void |
execute(long delay,
long interval,
long timeout) |
protected abstract void attempt()
throws InstrumentException,
Exception
InstrumentException - for an error condition that can be temporary - i.e. retrying later could be successfulException - for all other error conditionsCopyright © 2019. All rights reserved.