Package com.google.auth
Interface Retryable
- All Known Implementing Classes:
GoogleAuthException
,OAuthException
,PluggableAuthException
public interface Retryable
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets a number of performed retries for related HttpRequestboolean
A flag indicating whether the error is retryable
-
Method Details
-
isRetryable
boolean isRetryable()A flag indicating whether the error is retryable- Returns:
- true if related error is retryable, false otherwise
-
getRetryCount
int getRetryCount()Gets a number of performed retries for related HttpRequest- Returns:
- a number of performed retries
-