public interface CallShouldBackoff<ResponseT>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
isTrue()
Report whether to backoff.
|
void |
update(ResponseT response)
Update the state of whether to backoff using information about the response.
|
void |
update(UserCodeExecutionException exception)
Update the state of whether to backoff using information about the exception.
|
void update(UserCodeExecutionException exception)
void update(ResponseT response)
boolean isTrue()