public interface CallShouldBackoff<ResponseT>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
value()
Report whether to backoff.
|
void update(UserCodeExecutionException exception)
void update(ResponseT response)
boolean value()