| Package | Description |
|---|---|
| org.apache.hadoop.io.retry |
A mechanism for selectively retrying methods that throw exceptions under
certain circumstances.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
DefaultFailoverProxyProvider<T> |
An implementation of
FailoverProxyProvider which does nothing in the
event of failover, and always returns the same proxy object. |
| Modifier and Type | Method | Description |
|---|---|---|
FailoverProxyProvider<T> |
RetryInvocationHandler.getProxyProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
static <T> java.lang.Object |
RetryProxy.create(java.lang.Class<T> iface,
FailoverProxyProvider<T> proxyProvider,
java.util.Map<java.lang.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> java.lang.Object |
RetryProxy.create(java.lang.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. |
| Constructor | Description |
|---|---|
LossyRetryInvocationHandler(int numToDrop,
FailoverProxyProvider<T> proxyProvider,
RetryPolicy retryPolicy) |
|
RetryInvocationHandler(FailoverProxyProvider<T> proxyProvider,
RetryPolicy retryPolicy) |
|
RetryInvocationHandler(FailoverProxyProvider<T> proxyProvider,
RetryPolicy defaultPolicy,
java.util.Map<java.lang.String,RetryPolicy> methodNameToPolicyMap) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.