Package org.apache.hadoop.hbase.io
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 Summary
Modifier and TypeFieldDescriptionprivate org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
private AtomicInteger
-
Constructor Summary
ConstructorDescriptionMockedLogger
(AtomicInteger leaksDetected, org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
boolean
boolean
isEnabled
(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level) boolean
boolean
boolean
boolean
void
void
log
(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String format, Object arg) void
log
(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String format, Object... arguments) void
log
(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String format, Object argA, Object argB) void
log
(org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogLevel level, String msg, Throwable t) void
private void
maybeCountLeak
(String msgOrFormat) name()
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
leaksDetected
-
delegate
-
-
Constructor Details
-
MockedLogger
public MockedLogger(AtomicInteger leaksDetected, org.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger delegate)
-
-
Method Details
-
maybeCountLeak
-
error
- Specified by:
error
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
error
- Specified by:
error
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
error
- Specified by:
error
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
error
- Specified by:
error
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
error
- Specified by:
error
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
error
- Specified by:
error
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
name
- Specified by:
name
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
isTraceEnabled
- Specified by:
isTraceEnabled
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
trace
- Specified by:
trace
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
trace
- Specified by:
trace
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
trace
- Specified by:
trace
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
trace
- Specified by:
trace
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
trace
- Specified by:
trace
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
trace
- Specified by:
trace
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
isDebugEnabled
- Specified by:
isDebugEnabled
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
debug
- Specified by:
debug
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
debug
- Specified by:
debug
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
debug
- Specified by:
debug
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
debug
- Specified by:
debug
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
debug
- Specified by:
debug
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
debug
- Specified by:
debug
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
isInfoEnabled
- Specified by:
isInfoEnabled
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
info
- Specified by:
info
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
info
- Specified by:
info
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
info
- Specified by:
info
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
info
- Specified by:
info
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
info
- Specified by:
info
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
info
- Specified by:
info
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
isWarnEnabled
- Specified by:
isWarnEnabled
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
warn
- Specified by:
warn
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
warn
- Specified by:
warn
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
warn
- Specified by:
warn
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
warn
- Specified by:
warn
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
warn
- Specified by:
warn
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
warn
- Specified by:
warn
in interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-
isErrorEnabled
- Specified by:
isErrorEnabled
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.apache.hbase.thirdparty.io.netty.util.internal.logging.InternalLogger
-