Uses of Interface
org.apache.hadoop.io.retry.FailoverProxyProvider
Packages that use FailoverProxyProvider
Package
Description
A mechanism for selectively retrying methods that throw exceptions under
certain circumstances.
-
Uses of FailoverProxyProvider in org.apache.hadoop.io.retry
Classes in org.apache.hadoop.io.retry that implement FailoverProxyProviderModifier and TypeClassDescriptionclassAn implementation ofFailoverProxyProviderwhich does nothing in the event of failover, and always returns the same proxy object.Methods in org.apache.hadoop.io.retry that return FailoverProxyProviderMethods in org.apache.hadoop.io.retry with parameters of type FailoverProxyProviderModifier and TypeMethodDescriptionstatic <T> ObjectRetryProxy.create(Class<T> iface, FailoverProxyProvider<T> proxyProvider, Map<String, RetryPolicy> methodNameToPolicyMap, RetryPolicy defaultPolicy) Create a proxy for an interface of implementations of that interface using the givenFailoverProxyProviderand the a set of retry policies specified by method name.static <T> ObjectRetryProxy.create(Class<T> iface, FailoverProxyProvider<T> proxyProvider, RetryPolicy retryPolicy) Create a proxy for an interface of implementations of that interface using the givenFailoverProxyProviderand the same retry policy for each method in the interface.Constructors in org.apache.hadoop.io.retry with parameters of type FailoverProxyProviderModifierConstructorDescriptionLossyRetryInvocationHandler(int numToDrop, FailoverProxyProvider<T> proxyProvider, RetryPolicy retryPolicy) protectedRetryInvocationHandler(FailoverProxyProvider<T> proxyProvider, RetryPolicy retryPolicy) protectedRetryInvocationHandler(FailoverProxyProvider<T> proxyProvider, RetryPolicy defaultPolicy, Map<String, RetryPolicy> methodNameToPolicyMap)