Example usage for io.netty.util ResourceLeakDetectorFactory subclass-usage

List of usage examples for io.netty.util ResourceLeakDetectorFactory subclass-usage

Introduction

In this page you can find the example usage for io.netty.util ResourceLeakDetectorFactory subclass-usage.

Usage

From source file org.apache.openwhisk.core.database.cosmosdb.RecordingLeakDetectorFactory.java

public class RecordingLeakDetectorFactory extends ResourceLeakDetectorFactory {
    static final Counter counter = new Counter();

    @Override
    public <T> ResourceLeakDetector<T> newResourceLeakDetector(Class<T> resource, int samplingInterval,
            long maxActive) {