public interface EBRetryListener<Result,Error>
Modifier and Type | Method and Description |
---|---|
void |
onFail(EBRetryJobError<Error> error,
EBRetry<Result,Error> retry)
Called by job on fail.
|
void |
onSuccess(Result result,
EBRetry<Result,Error> retry)
Called by job on success.
|
void onSuccess(Result result, EBRetry<Result,Error> retry)
result
- Resultretry
- pair EBRetry of Result and Error typesvoid onFail(EBRetryJobError<Error> error, EBRetry<Result,Error> retry)
error
- EBRetryJobErrorretry
- pair EBRetry of Result and Error typesCopyright © 2016. All rights reserved.