Package com.facebook.presto.jdbc.internal.netty.channel.socket.nio

Examples of com.facebook.presto.jdbc.internal.netty.channel.socket.nio.NioClientBossPool


        // Give netty infinite thread "sources" for worker and boss.
        // Netty will name the threads and will size the pool appropriately
        this.bossExecutor = newCachedThreadPool(daemonThreadsNamed(prefix + "boss-%s"));
        this.workerExecutor = newCachedThreadPool(daemonThreadsNamed(prefix + "worker-%s"));

        this.bossPool = new NioClientBossPool(bossExecutor, config.getIoBossThreads(), hashedWheelTimer, ThreadNameDeterminer.CURRENT);
        this.workerPool = new NioWorkerPool(workerExecutor, config.getIoWorkerThreads(), ThreadNameDeterminer.CURRENT);
    }
View Full Code Here

TOP

Related Classes of com.facebook.presto.jdbc.internal.netty.channel.socket.nio.NioClientBossPool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.