Package io.prestosql.plugin.base.util
Class LoggingInvocationHandler
- java.lang.Object
-
- com.google.common.reflect.AbstractInvocationHandler
-
- io.prestosql.plugin.base.util.LoggingInvocationHandler
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
public class LoggingInvocationHandler extends com.google.common.reflect.AbstractInvocationHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLoggingInvocationHandler.AirliftParameterNamesProviderstatic interfaceLoggingInvocationHandler.ParameterNamesProviderstatic classLoggingInvocationHandler.ReflectiveParameterNamesProvider
-
Constructor Summary
Constructors Constructor Description LoggingInvocationHandler(java.lang.Object delegate, LoggingInvocationHandler.ParameterNamesProvider parameterNames, java.util.function.Consumer<java.lang.String> logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjecthandleInvocation(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
-
-
-
Constructor Detail
-
LoggingInvocationHandler
public LoggingInvocationHandler(java.lang.Object delegate, LoggingInvocationHandler.ParameterNamesProvider parameterNames, java.util.function.Consumer<java.lang.String> logger)
-
-
Method Detail
-
handleInvocation
protected java.lang.Object handleInvocation(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable- Specified by:
handleInvocationin classcom.google.common.reflect.AbstractInvocationHandler- Throws:
java.lang.Throwable
-
-