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

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


        bucketKey = config.bucket().get() == null ? DEFAULT_BUCKET_KEY : config.bucket().get();

        HTTPClusterConfig httpClusterConfig = new HTTPClusterConfig( maxConnections );
        for( String url : urls )
        {
            HTTPClientConfig clientConfig = new HTTPClientConfig.Builder().withTimeout( timeoutMillis ).withUrl( url ).build();
            httpClusterConfig.addClient( clientConfig );
        }
        riakClient = RiakFactory.newClient( httpClusterConfig );

        if( !riakClient.listBuckets().contains( bucketKey ) )
View Full Code Here

TOP

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

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.