public class ScribeBackoffPolicy extends BackoffPolicy
mBackoffMs, mBackoffMultiplier, mDefaultBackoffTimeMs, mMaxBackoffTimeMs, mMaxRetries, mRetryCount
Constructor and Description |
---|
ScribeBackoffPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
backoff(VolleyError volleyError)
Prepares for the next request attempt by updating the backoff time.
|
getBackoffMs, getRetryCount, hasAttemptRemaining
public void backoff(VolleyError volleyError) throws VolleyError
BackoffPolicy
backoff
in class BackoffPolicy
volleyError
- The error code of the last request attempt.VolleyError