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 Details

    • LoggingInvocationHandler

      public LoggingInvocationHandler(Object delegate, Consumer<String> logger)
    • LoggingInvocationHandler

      public LoggingInvocationHandler(Object delegate, Consumer<String> logger, boolean includeResult)
  • Method Details

    • handleInvocation

      protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable
      Specified by:
      handleInvocation in class com.google.common.reflect.AbstractInvocationHandler
      Throws:
      Throwable