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

Examples of com.basho.riak.client.raw.http.HTTPClientConfig.Builder


     * @see
     * com.basho.riak.client.raw.config.ClusterConfig#forHosts(com.basho.riak
     * .client.raw.config.Configuration, java.lang.String[])
     */
    @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

Related Classes of com.basho.riak.client.raw.http.HTTPClientConfig.Builder

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.