Package com.facebook.presto.jdbc.internal.airlift.http.client.jetty

Examples of com.facebook.presto.jdbc.internal.airlift.http.client.jetty.JettyIoPool


        public JettyIoPool get()
        {
            if (pool == null) {
                JettyIoPoolConfig config = injector.getInstance(keyFromNullable(JettyIoPoolConfig.class, annotation));
                pool = new JettyIoPool(name, config);
            }
            return pool;
        }
View Full Code Here


        this.queryInfoCodec = queryResultsCodec;
        this.httpClient = new JettyHttpClient(
                new HttpClientConfig()
                        .setConnectTimeout(new Duration(10, TimeUnit.SECONDS))
                        .setSocksProxy(socksProxy),
                new JettyIoPool("presto-jdbc", new JettyIoPoolConfig()),
                ImmutableSet.of(new UserAgentRequestFilter(userAgent)));
    }
View Full Code Here

TOP

Related Classes of com.facebook.presto.jdbc.internal.airlift.http.client.jetty.JettyIoPool

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.