Uses of Interface
com.google.cloud.hadoop.util.RetryDeterminer
Packages that use RetryDeterminer
-
Uses of RetryDeterminer in com.google.cloud.hadoop.util
Fields in com.google.cloud.hadoop.util declared as RetryDeterminerModifier and TypeFieldDescriptionstatic final RetryDeterminer<Exception>RetryDeterminer.ALL_ERRORSAlways retries.static final RetryDeterminer<Exception>RetryDeterminer.DEFAULTRetries exception when eitherSOCKET_ERRORSorSERVER_ERRORSwould retry.static final RetryDeterminer<IOException>RetryDeterminer.RATE_LIMIT_ERRORSA rate limited determiner that uses a defaultApiErrorExtractor.static final RetryDeterminer<IOException>RetryDeterminer.SERVER_ERRORSServer errors RetryDeterminer decides to retry on HttpResponseExceptions that return a 500.static final RetryDeterminer<IOException>RetryDeterminer.SOCKET_ERRORSSocket errors retry determiner retries on socket exceptions.Methods in com.google.cloud.hadoop.util with parameters of type RetryDeterminerModifier and TypeMethodDescriptionstatic <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.