Package io.trino.plugin.base.util
Class LoggingInvocationHandler
java.lang.Object
com.google.common.reflect.AbstractInvocationHandler
io.trino.plugin.base.util.LoggingInvocationHandler
- All Implemented Interfaces:
InvocationHandler
public class LoggingInvocationHandler
extends com.google.common.reflect.AbstractInvocationHandler
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingInvocationHandler(Object delegate, Consumer<String> logger) LoggingInvocationHandler(Object delegate, Consumer<String> logger, boolean includeResult) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjecthandleInvocation(Object proxy, Method method, Object[] args) Methods inherited from class com.google.common.reflect.AbstractInvocationHandler
equals, hashCode, invoke, toString
-
Constructor Details
-
LoggingInvocationHandler
-
LoggingInvocationHandler
-
-
Method Details
-
handleInvocation
- Specified by:
handleInvocationin classcom.google.common.reflect.AbstractInvocationHandler- Throws:
Throwable
-