Package io.netty.util
Interface ResourceLeak
-
@Deprecated public interface ResourceLeakDeprecated.please useResourceLeakTrackeras it may lead to false-positives.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanclose()Deprecated.Close the leak so thatResourceLeakDetectordoes not warn about leaked resources.voidrecord()Deprecated.Records the caller's current stack trace so that theResourceLeakDetectorcan tell where the leaked resource was accessed lastly.voidrecord(java.lang.Object hint)Deprecated.Records the caller's current stack trace and the specified additional arbitrary information so that theResourceLeakDetectorcan tell where the leaked resource was accessed lastly.
-
-
-
Method Detail
-
record
void record()
Deprecated.Records the caller's current stack trace so that theResourceLeakDetectorcan tell where the leaked resource was accessed lastly. This method is a shortcut torecord(null).
-
record
void record(java.lang.Object hint)
Deprecated.Records the caller's current stack trace and the specified additional arbitrary information so that theResourceLeakDetectorcan tell where the leaked resource was accessed lastly.
-
close
boolean close()
Deprecated.Close the leak so thatResourceLeakDetectordoes not warn about leaked resources.- Returns:
trueif called first time,falseif called already
-
-