Package com.basho.riak.client.raw.pbc.PBClientConfig

Examples of com.basho.riak.client.raw.pbc.PBClientConfig.Builder


    /* (non-Javadoc)
     * @see com.basho.riak.client.raw.config.ClusterConfig#forHosts(com.basho.riak.client.raw.config.Configuration, java.lang.String[])
     */
    @Override public ClusterConfig<PBClientConfig> addHosts(PBClientConfig config, String... hosts) {
        Builder b = PBClientConfig.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.pbc.PBClientConfig.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.