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

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

Introduction

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

Usage

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

public class RecordingLeakDetector<T> extends ResourceLeakDetector<T> {
    private final Counter counter;

    public RecordingLeakDetector(Counter counter, Class<?> resourceType, int samplingInterval) {
        super(resourceType, samplingInterval);
        this.counter = counter;