|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RetryPolicy
Retry policy for a request.
Method Summary | |
---|---|
int |
getCurrentRetryCount()
Returns the current retry count (used for logging). |
int |
getCurrentTimeout()
Returns the current timeout (used for logging). |
void |
retry(VolleyError error)
Prepares for the next retry by applying a backoff to the timeout. |
Method Detail |
---|
int getCurrentTimeout()
int getCurrentRetryCount()
void retry(VolleyError error) throws VolleyError
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |