public class TransparentPoolingInvocationHandler<T> extends AbstractInvocationHandler
AbstractInvocationHandler.MethodTranslator| Constructor and Description |
|---|
TransparentPoolingInvocationHandler(RedisConnectionPool<T> pool) |
| Modifier and Type | Method and Description |
|---|---|
RedisConnectionPool<T> |
getPool() |
protected Object |
handleInvocation(Object proxy,
Method method,
Object[] args)
AbstractInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) delegates to this method upon any method invocation on the proxy instance, except Object.equals(java.lang.Object),
Object.hashCode() and Object.toString(). |
equals, hashCode, invoke, toStringpublic TransparentPoolingInvocationHandler(RedisConnectionPool<T> pool)
protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable
AbstractInvocationHandlerAbstractInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) delegates to this method upon any method invocation on the proxy instance, except Object.equals(java.lang.Object),
Object.hashCode() and Object.toString(). The result will be returned as the proxied method's return value.
Unlike AbstractInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]), args will never be null. When the method has no parameter, an empty array is passed in.
handleInvocation in class AbstractInvocationHandlerThrowablepublic RedisConnectionPool<T> getPool()
Copyright © 2016. All rights reserved.