ResourceLeakTracker
as it may lead to false-positives.@Deprecated public interface ResourceLeak
Modifier and Type | Method and Description |
---|---|
boolean |
close()
Deprecated.
Close the leak so that
ResourceLeakDetector does not warn about leaked resources. |
void |
record()
Deprecated.
Records the caller's current stack trace so that the
ResourceLeakDetector can tell where the leaked
resource was accessed lastly. |
void |
record(Object hint)
Deprecated.
Records the caller's current stack trace and the specified additional arbitrary information
so that the
ResourceLeakDetector can tell where the leaked resource was accessed lastly. |
void record()
ResourceLeakDetector
can tell where the leaked
resource was accessed lastly. This method is a shortcut to record(null)
.void record(Object hint)
ResourceLeakDetector
can tell where the leaked resource was accessed lastly.boolean close()
ResourceLeakDetector
does not warn about leaked resources.true
if called first time, false
if called alreadyCopyright © 2008–2019 The Netty Project. All rights reserved.