Package com.netflix.netty.common.metrics
Class InstrumentedResourceLeakDetector<T>
java.lang.Object
io.netty.util.ResourceLeakDetector<T>
com.netflix.netty.common.metrics.InstrumentedResourceLeakDetector<T>
public class InstrumentedResourceLeakDetector<T>
extends io.netty.util.ResourceLeakDetector<T>
Pluggable ResourceLeakDetector to track metrics for leaks
Author: Arthur Gonigberg
Date: September 20, 2016
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.util.ResourceLeakDetector
io.netty.util.ResourceLeakDetector.LeakListener, io.netty.util.ResourceLeakDetector.Level
-
Constructor Summary
ConstructorsConstructorDescriptionInstrumentedResourceLeakDetector
(Class<?> resourceType, int samplingInterval) InstrumentedResourceLeakDetector
(Class<?> resourceType, int samplingInterval, long maxActive) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
reportTracedLeak
(String resourceType, String records) protected void
reportUntracedLeak
(String resourceType) Methods inherited from class io.netty.util.ResourceLeakDetector
addExclusions, getInitialHint, getLevel, isEnabled, needReport, open, reportInstancesLeak, setEnabled, setLeakListener, setLevel, track, trackForcibly
-
Constructor Details
-
InstrumentedResourceLeakDetector
-
InstrumentedResourceLeakDetector
public InstrumentedResourceLeakDetector(Class<?> resourceType, int samplingInterval, long maxActive)
-
-
Method Details