|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RetryPolicy | |
---|---|
org.apache.hadoop.tools.util |
Uses of RetryPolicy in org.apache.hadoop.tools.util |
---|
Fields in org.apache.hadoop.tools.util declared as RetryPolicy | |
---|---|
static RetryPolicy |
RetryPolicies.RETRY_FOREVER
Keep trying forever. |
static RetryPolicy |
RetryPolicies.TRY_ONCE_DONT_FAIL
Try once, and fail silently for void methods, or by
re-throwing the exception for non-void methods. |
static RetryPolicy |
RetryPolicies.TRY_ONCE_THEN_FAIL
Try once, and fail by re-throwing the exception. |
Methods in org.apache.hadoop.tools.util that return RetryPolicy | |
---|---|
static RetryPolicy |
RetryPolicies.exponentialBackoffRetry(int maxRetries,
long sleepTime,
TimeUnit timeUnit)
Keep trying a limited number of times, waiting a growing amount of time between attempts, and then fail by re-throwing the exception. |
static RetryPolicy |
RetryPolicies.retryByException(RetryPolicy defaultPolicy,
Map<Class<? extends Exception>,RetryPolicy> exceptionToPolicyMap)
Set a default policy with some explicit handlers for specific exceptions. |
static RetryPolicy |
RetryPolicies.retryByRemoteException(RetryPolicy defaultPolicy,
Map<Class<? extends Exception>,RetryPolicy> exceptionToPolicyMap)
A retry policy for RemoteException Set a default policy with some explicit handlers for specific exceptions. |
static RetryPolicy |
RetryPolicies.retryUpToMaximumCountWithFixedSleep(int maxRetries,
long sleepTime,
TimeUnit timeUnit)
Keep trying a limited number of times, waiting a fixed time between attempts, and then fail by re-throwing the exception. |
static RetryPolicy |
RetryPolicies.retryUpToMaximumCountWithProportionalSleep(int maxRetries,
long sleepTime,
TimeUnit timeUnit)
Keep trying a limited number of times, waiting a growing amount of time between attempts, and then fail by re-throwing the exception. |
static RetryPolicy |
RetryPolicies.retryUpToMaximumTimeWithFixedSleep(long maxTime,
long sleepTime,
TimeUnit timeUnit)
Keep trying for a maximum time, waiting a fixed time between attempts, and then fail by re-throwing the exception. |
Methods in org.apache.hadoop.tools.util with parameters of type RetryPolicy | |
---|---|
static RetryPolicy |
RetryPolicies.retryByException(RetryPolicy defaultPolicy,
Map<Class<? extends Exception>,RetryPolicy> exceptionToPolicyMap)
Set a default policy with some explicit handlers for specific exceptions. |
static RetryPolicy |
RetryPolicies.retryByRemoteException(RetryPolicy defaultPolicy,
Map<Class<? extends Exception>,RetryPolicy> exceptionToPolicyMap)
A retry policy for RemoteException Set a default policy with some explicit handlers for specific exceptions. |
RetriableCommand |
RetriableCommand.setRetryPolicy(RetryPolicy retryHandler)
Fluent-interface to change the RetryHandler. |
Method parameters in org.apache.hadoop.tools.util with type arguments of type RetryPolicy | |
---|---|
static RetryPolicy |
RetryPolicies.retryByException(RetryPolicy defaultPolicy,
Map<Class<? extends Exception>,RetryPolicy> exceptionToPolicyMap)
Set a default policy with some explicit handlers for specific exceptions. |
static RetryPolicy |
RetryPolicies.retryByRemoteException(RetryPolicy defaultPolicy,
Map<Class<? extends Exception>,RetryPolicy> exceptionToPolicyMap)
A retry policy for RemoteException Set a default policy with some explicit handlers for specific exceptions. |
Constructors in org.apache.hadoop.tools.util with parameters of type RetryPolicy | |
---|---|
RetriableCommand(String description,
RetryPolicy retryPolicy)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |