Package com.basho.riak.client.raw.http.HTTPClientConfig

Examples of com.basho.riak.client.raw.http.HTTPClientConfig.Builder.withHost()


     */
    @Override public ClusterConfig<HTTPClientConfig> addHosts(HTTPClientConfig config, String... hosts) {
        Builder b = HTTPClientConfig.Builder.from(config);

        for (String host : hosts) {
            addClient(b.withHost(host).build());
        }

        return this;
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.