Class TestByteBuffAllocatorLeakDetection.MockedLogger

java.lang.Object
org.apache.hadoop.hbase.io.TestByteBuffAllocatorLeakDetection.MockedLogger
All Implemented Interfaces:
org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
Enclosing class:
TestByteBuffAllocatorLeakDetection

private static class TestByteBuffAllocatorLeakDetection.MockedLogger extends Object implements org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
  • Field Details

  • Constructor Details

    • MockedLogger

      public MockedLogger(AtomicInteger leaksDetected, org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger delegate)
  • Method Details

    • maybeCountLeak

      private void maybeCountLeak(String msgOrFormat)
    • error

      public void error(String msg)
      Specified by:
      error in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • error

      public void error(String format, Object arg)
      Specified by:
      error in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • error

      public void error(String format, Object argA, Object argB)
      Specified by:
      error in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • error

      public void error(String format, Object... arguments)
      Specified by:
      error in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • error

      public void error(String msg, Throwable t)
      Specified by:
      error in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • error

      public void error(Throwable t)
      Specified by:
      error in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • name

      public String name()
      Specified by:
      name in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • isTraceEnabled

      public boolean isTraceEnabled()
      Specified by:
      isTraceEnabled in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • trace

      public void trace(String msg)
      Specified by:
      trace in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • trace

      public void trace(String format, Object arg)
      Specified by:
      trace in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • trace

      public void trace(String format, Object argA, Object argB)
      Specified by:
      trace in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • trace

      public void trace(String format, Object... arguments)
      Specified by:
      trace in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • trace

      public void trace(String msg, Throwable t)
      Specified by:
      trace in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • trace

      public void trace(Throwable t)
      Specified by:
      trace in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • isDebugEnabled

      public boolean isDebugEnabled()
      Specified by:
      isDebugEnabled in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • debug

      public void debug(String msg)
      Specified by:
      debug in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • debug

      public void debug(String format, Object arg)
      Specified by:
      debug in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • debug

      public void debug(String format, Object argA, Object argB)
      Specified by:
      debug in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • debug

      public void debug(String format, Object... arguments)
      Specified by:
      debug in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • debug

      public void debug(String msg, Throwable t)
      Specified by:
      debug in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • debug

      public void debug(Throwable t)
      Specified by:
      debug in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • isInfoEnabled

      public boolean isInfoEnabled()
      Specified by:
      isInfoEnabled in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • info

      public void info(String msg)
      Specified by:
      info in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • info

      public void info(String format, Object arg)
      Specified by:
      info in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • info

      public void info(String format, Object argA, Object argB)
      Specified by:
      info in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • info

      public void info(String format, Object... arguments)
      Specified by:
      info in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • info

      public void info(String msg, Throwable t)
      Specified by:
      info in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • info

      public void info(Throwable t)
      Specified by:
      info in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • isWarnEnabled

      public boolean isWarnEnabled()
      Specified by:
      isWarnEnabled in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • warn

      public void warn(String msg)
      Specified by:
      warn in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • warn

      public void warn(String format, Object arg)
      Specified by:
      warn in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • warn

      public void warn(String format, Object... arguments)
      Specified by:
      warn in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • warn

      public void warn(String format, Object argA, Object argB)
      Specified by:
      warn in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • warn

      public void warn(String msg, Throwable t)
      Specified by:
      warn in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • warn

      public void warn(Throwable t)
      Specified by:
      warn in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • isErrorEnabled

      public boolean isErrorEnabled()
      Specified by:
      isErrorEnabled in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • isEnabled

      public boolean isEnabled(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level)
      Specified by:
      isEnabled in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • log

      public void log(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String msg)
      Specified by:
      log in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • log

      public void log(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String format, Object arg)
      Specified by:
      log in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • log

      public void log(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String format, Object argA, Object argB)
      Specified by:
      log in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • log

      public void log(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String format, Object... arguments)
      Specified by:
      log in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • log

      public void log(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String msg, Throwable t)
      Specified by:
      log in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
    • log

      public void log(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, Throwable t)
      Specified by:
      log in interface org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger