com.googlecode.icegem.utils
Interface Retryable<T>
public interface Retryable<T>
is an operation that can be retried with exponentional back off.
- Author:
- Alexey Kharlamov
|
Method Summary |
T |
execute()
executes the operation. |
execute
T execute()
throws OperationRequireRetryException,
InterruptedException
- executes the operation.
- Returns:
- the return value of operation.
- Throws:
OperationRequireRetryException - when operation have to be retried.
InterruptedException - if operation has been interrupted.
Copyright © 2011. All Rights Reserved.