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()
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–2018 The Netty Project. All rights reserved.