Package org.apache.hadoop.fs.s3a
Interface Invoker.Retried
- Enclosing class:
- Invoker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback for retry and notification operations.
Even if the interface is throwing up "raw" exceptions, this handler
gets the translated one.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonFailure(String text, IOException exception, int retries, boolean idempotent) Retry event in progress (before any sleep).
-
Method Details
-
onFailure
Retry event in progress (before any sleep).- Parameters:
text- text passed in to the retry() Call.exception- the caught (and possibly translated) exception.retries- number of retries so faridempotent- is the request idempotent.
-