Example usage for io.netty.util.internal.logging CommonsLoggerFactory CommonsLoggerFactory

List of usage examples for io.netty.util.internal.logging CommonsLoggerFactory CommonsLoggerFactory

Introduction

In this page you can find the example usage for io.netty.util.internal.logging CommonsLoggerFactory CommonsLoggerFactory.

Prototype

@Deprecated
public CommonsLoggerFactory() 

Source Link

Usage

From source file:org.apache.tajo.rpc.RpcConnectionPool.java

License:Apache License

public synchronized static RpcConnectionPool getPool() {
    if (instance == null) {
        InternalLoggerFactory.setDefaultFactory(new CommonsLoggerFactory());
        instance = new RpcConnectionPool();
    }//from   w w w  .j  av  a2 s.  c  o m
    return instance;
}