Uses of Interface
org.apache.hadoop.io.retry.FailoverProxyProvider

Packages that use FailoverProxyProvider
org.apache.hadoop.io.retry 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 FailoverProxyProvider
 class DefaultFailoverProxyProvider<T>
          An implementation of FailoverProxyProvider which does nothing in the event of failover, and always returns the same proxy object.
 

Methods in org.apache.hadoop.io.retry with parameters of type FailoverProxyProvider
static
<T> Object
RetryProxy.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 given FailoverProxyProvider and the a set of retry policies specified by method name.
static
<T> Object
RetryProxy.create(Class<T> iface, FailoverProxyProvider<T> proxyProvider, RetryPolicy retryPolicy)
          Create a proxy for an interface of implementations of that interface using the given FailoverProxyProvider and the same retry policy for each method in the interface.
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.