Example usage for io.netty.util ResourceLeakDetectorFactory setResourceLeakDetectorFactory

List of usage examples for io.netty.util ResourceLeakDetectorFactory setResourceLeakDetectorFactory

Introduction

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

Prototype

public static void setResourceLeakDetectorFactory(ResourceLeakDetectorFactory factory) 

Source Link

Document

Set the factory's singleton instance.

Usage

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

License:Apache License

public static void register() {
    ResourceLeakDetectorFactory.setResourceLeakDetectorFactory(new RecordingLeakDetectorFactory());
}