protected class ClassLoaderLeakPreventor.WarningThreadLocalProcessor extends Object implements ClassLoaderLeakPreventor.ThreadLocalProcessor
| Modifier | Constructor and Description |
|---|---|
protected |
WarningThreadLocalProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(Thread thread,
Reference<?> entry,
ThreadLocal<?> threadLocal,
Object value) |
protected void |
processLeak(Thread thread,
Reference<?> entry,
ThreadLocal<?> threadLocal,
Object value,
String message)
After having detected potential ThreadLocal leak, this method is called.
|
public final void process(Thread thread, Reference<?> entry, ThreadLocal<?> threadLocal, Object value)
process in interface ClassLoaderLeakPreventor.ThreadLocalProcessorprotected void processLeak(Thread thread, Reference<?> entry, ThreadLocal<?> threadLocal, Object value, String message)
Copyright © 2016. All rights reserved.