Retryable
interface) and executes that with possibility to
retry the execution in case of IOException.
Modifier and Type | Field and Description |
---|---|
private int | |
private Task |
Access | Constructor and Description |
---|---|
public | RetryHandler(int
how many times to retry retriesAllowed, Task the Ant task that is is executed from, used for logging only task)Create a new RetryingHandler. |
Modifier and Type | Method and Description |
---|---|
public void |
retriesAllowed | back to summary |
---|---|
private int retriesAllowed |
task | back to summary |
---|---|
private Task task |
RetryHandler | back to summary |
---|---|
public RetryHandler(int retriesAllowed, Task task) Create a new RetryingHandler.
|
execute | back to summary |
---|---|
public void execute(Retryable exe, String desc) throws IOException Execute the
|