Uses of Interface
com.google.cloud.hadoop.util.RetryDeterminer
-
Packages that use RetryDeterminer Package Description com.google.cloud.hadoop.util -
-
Uses of RetryDeterminer in com.google.cloud.hadoop.util
Fields in com.google.cloud.hadoop.util declared as RetryDeterminer Modifier and Type Field Description static RetryDeterminer<Exception>RetryDeterminer. ALL_ERRORSAlways retries.static RetryDeterminer<Exception>RetryDeterminer. DEFAULTRetries exception when eitherSOCKET_ERRORSorSERVER_ERRORSwould retry.static RetryDeterminer<IOException>RetryDeterminer. RATE_LIMIT_ERRORSA rate limited determiner that uses a defaultApiErrorExtractor.static RetryDeterminer<IOException>RetryDeterminer. SERVER_ERRORSServer errors RetryDeterminer decides to retry on HttpResponseExceptions that return a 500.static RetryDeterminer<IOException>RetryDeterminer. SOCKET_ERRORSSocket errors retry determiner retries on socket exceptions.Methods in com.google.cloud.hadoop.util with parameters of type RetryDeterminer Modifier and Type Method Description static <T,X extends Exception>
TResilientOperation. retry(Callable<T> callable, com.google.api.client.util.BackOff backoff, RetryDeterminer<? super X> retryDet, Class<X> classType)Retries the given executable function in the case of transient errors defined by the RetryDeterminer and uses default sleeper.static <T,X extends Exception>
TResilientOperation. retry(Callable<T> callable, com.google.api.client.util.BackOff backoff, RetryDeterminer<? super X> retryDet, Class<X> classType, com.google.api.client.util.Sleeper sleeper)Retries the given executable function in the case of transient errors defined by the RetryDeterminer.
-