com.android.volley.RetryPolicy |
Known Indirect Subclasses |
Retry policy for a request.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getCurrentRetryCount()
Returns the current retry count (used for logging).
| ||||||||||
abstract int |
getCurrentTimeout()
Returns the current timeout (used for logging).
| ||||||||||
abstract void |
retry(VolleyError error)
Prepares for the next retry by applying a backoff to the timeout.
|
Returns the current retry count (used for logging).
Returns the current timeout (used for logging).
Prepares for the next retry by applying a backoff to the timeout.
error | The error code of the last attempt. |
---|
VolleyError | In the event that the retry could not be performed (for example if we ran out of attempts), the passed in error is thrown. |
---|