FileDocCategorySizeDatePackage
RetryPolicy.javaAPI DocAndroid 5.1 API1309Thu Mar 12 22:22:56 GMT 2015com.android.volley

RetryPolicy

public interface RetryPolicy
Retry policy for a request.

Fields Summary
Constructors Summary
Methods Summary
public intgetCurrentRetryCount()
Returns the current retry count (used for logging).

public intgetCurrentTimeout()
Returns the current timeout (used for logging).

public voidretry(VolleyError error)
Prepares for the next retry by applying a backoff to the timeout.

param
error The error code of the last attempt.
throws
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.