Package com.facebook.presto.jdbc.internal.netty.handler.timeout

Examples of com.facebook.presto.jdbc.internal.netty.handler.timeout.ReadTimeoutHandler


        Preconditions.checkNotNull(readTimeout, "readTimeout is null");
        Preconditions.checkNotNull(maxContentLength, "maxContentLength is null");

        this.nettyConnectionPool = nettyConnectionPool;
        this.executor = executor;
        this.timeoutHandler = new ReadTimeoutHandler(this.timer, readTimeout.toMillis(), TimeUnit.MILLISECONDS);
        this.maxContentLength = Ints.checkedCast(maxContentLength.toBytes());
    }
View Full Code Here

TOP

Related Classes of com.facebook.presto.jdbc.internal.netty.handler.timeout.ReadTimeoutHandler

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.