Package com.google.code.hs4j.impl

Examples of com.google.code.hs4j.impl.HSClientBuilderImpl


  }

  private HSAB<User, byte[]> getHSAB() throws IOException, SQLException {
    DataSource ds = getDS();

    HSClientBuilder hsb = new HSClientBuilderImpl();
    hsb.setServerAddress("localhost", 9998);
    hsb.setConnectionPoolSize(100);
    return new HSAB<User, byte[]>(
        Executors.newCachedThreadPool(),
        ds,
        hsb.build(),
        "user",
        "profile",
        "avro_schemas",
        User.SCHEMA$,
        AvroFormat.JSON,
View Full Code Here

TOP

Related Classes of com.google.code.hs4j.impl.HSClientBuilderImpl

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.