Interface CallShouldBackoff<ResponseT>
- All Superinterfaces:
Serializable
Informs whether a call to an API should backoff.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisTrue()Report whether to backoff.voidupdate(UserCodeExecutionException exception) Update the state of whether to backoff using information about the exception.voidUpdate the state of whether to backoff using information about the response.
-
Method Details
-
update
Update the state of whether to backoff using information about the exception. -
update
Update the state of whether to backoff using information about the response. -
isTrue
boolean isTrue()Report whether to backoff.
-