Package com.basho.riak.client.raw.config

Examples of com.basho.riak.client.raw.config.Configuration


   */
  public static IOperationFactory getFactory (final String riakHost, final int port, final String bucket, final String clientId, final boolean pb)
  {
    IOperationFactory factory = null;
    try {
      Configuration config = null;
      if (pb) {
        config = new PBClientConfig.Builder ().withHost (riakHost).withPort (port).build ();
      } else {
        config = new HTTPClientConfig.Builder ().withHost (riakHost).withPort (port).build ();
      }
View Full Code Here

TOP

Related Classes of com.basho.riak.client.raw.config.Configuration

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.