Package alluxio.resource
Class AlluxioResourceLeakDetectorFactory
- java.lang.Object
-
- io.netty.util.ResourceLeakDetectorFactory
-
- alluxio.resource.AlluxioResourceLeakDetectorFactory
-
public class AlluxioResourceLeakDetectorFactory extends io.netty.util.ResourceLeakDetectorFactory
The class responsible for instantiatingAlluxioResourceLeakDetector
.
-
-
Constructor Summary
Constructors Constructor Description AlluxioResourceLeakDetectorFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.netty.util.ResourceLeakDetectorFactory
instance()
<T> io.netty.util.ResourceLeakDetector<T>
newResourceLeakDetector(java.lang.Class<T> resource, int samplingInterval)
<T> io.netty.util.ResourceLeakDetector<T>
newResourceLeakDetector(java.lang.Class<T> resource, int samplingInterval, long maxActive)
-
-
-
Method Detail
-
instance
public static io.netty.util.ResourceLeakDetectorFactory instance()
- Returns:
- the singleton instance of the
AlluxioResourceLeakDetectorFactory
-
newResourceLeakDetector
public <T> io.netty.util.ResourceLeakDetector<T> newResourceLeakDetector(java.lang.Class<T> resource, int samplingInterval, long maxActive)
- Specified by:
newResourceLeakDetector
in classio.netty.util.ResourceLeakDetectorFactory
-
newResourceLeakDetector
public <T> io.netty.util.ResourceLeakDetector<T> newResourceLeakDetector(java.lang.Class<T> resource, int samplingInterval)
- Overrides:
newResourceLeakDetector
in classio.netty.util.ResourceLeakDetectorFactory
-
-