@InterfaceAudience.Private public class LossyRetryInvocationHandler<T> extends RetryInvocationHandler<T>
LOG| Constructor and Description |
|---|
LossyRetryInvocationHandler(int numToDrop,
FailoverProxyProvider<T> proxyProvider,
RetryPolicy retryPolicy) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected Object |
invokeMethod(Method method,
Object[] args) |
close, getConnectionIdpublic LossyRetryInvocationHandler(int numToDrop,
FailoverProxyProvider<T> proxyProvider,
RetryPolicy retryPolicy)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerinvoke in class RetryInvocationHandler<T>Throwableprotected Object invokeMethod(Method method, Object[] args) throws Throwable
invokeMethod in class RetryInvocationHandler<T>ThrowableCopyright © 2013 Apache Software Foundation. All rights reserved.