public class

RiakHttpClientConfigurationAdapter

extends Object
implements RiakClientConfigurationAdapter<T extends Configuration>
java.lang.Object
   ↳ org.mule.modules.riak.config.RiakHttpClientConfigurationAdapter

Class Overview

An adapter that allows DevKit to generate a configuration for Riak's HTTPClientConfig.

Summary

Fields
private HTTPClientConfig.Builder builder
private HttpClient httpClient A fully configured Apache HttpClient that you want to be used by Riak HTTP client.
private HttpRequestRetryHandler httpRequestRetryHandler An implementation of HttpRequestRetryHandler to be used by the underlying HttpClient
private String mapReducePath The path to Riak's REST M/R interface (eg /mapreduce).
private int maxConnections The maximum number of connections to the Riak REST interface at url to create.
private String riakPath The path to the base Riak REST resource.
private int timeout The connection and socket read timeout in milliseconds.
private String url The URL for Riak's REST interface (scheme://host:port/path).
Public Constructors
RiakHttpClientConfigurationAdapter()
Public Methods
HTTPClientConfig buildRiakConfiguration()
HttpClient getHttpClient()
HttpRequestRetryHandler getHttpRequestRetryHandler()
String getMapReducePath()
int getMaxConnections()
String getRiakPath()
int getTimeout()
String getUrl()
void setHttpClient(HttpClient httpClient)
void setHttpRequestRetryHandler(HttpRequestRetryHandler httpRequestRetryHandler)
void setMapReducePath(String mapReducePath)
void setMaxConnections(int maxConnections)
void setRiakPath(String riakPath)
void setTimeout(int timeout)
void setUrl(String url)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.modules.riak.config.RiakClientConfigurationAdapter

Fields

private HTTPClientConfig.Builder builder

private HttpClient httpClient

A fully configured Apache HttpClient that you want to be used by Riak HTTP client.

private HttpRequestRetryHandler httpRequestRetryHandler

An implementation of HttpRequestRetryHandler to be used by the underlying HttpClient

private String mapReducePath

The path to Riak's REST M/R interface (eg /mapreduce).

private int maxConnections

The maximum number of connections to the Riak REST interface at url to create.

private String riakPath

The path to the base Riak REST resource.

private int timeout

The connection and socket read timeout in milliseconds.

private String url

The URL for Riak's REST interface (scheme://host:port/path).

Public Constructors

public RiakHttpClientConfigurationAdapter ()

Public Methods

public HTTPClientConfig buildRiakConfiguration ()

public HttpClient getHttpClient ()

public HttpRequestRetryHandler getHttpRequestRetryHandler ()

public String getMapReducePath ()

public int getMaxConnections ()

public String getRiakPath ()

public int getTimeout ()

public String getUrl ()

public void setHttpClient (HttpClient httpClient)

Parameters
httpClient

public void setHttpRequestRetryHandler (HttpRequestRetryHandler httpRequestRetryHandler)

Parameters
httpRequestRetryHandler

public void setMapReducePath (String mapReducePath)

Parameters
mapReducePath

public void setMaxConnections (int maxConnections)

Parameters
maxConnections

public void setRiakPath (String riakPath)

Parameters
riakPath

public void setTimeout (int timeout)

Parameters
timeout

public void setUrl (String url)

Parameters
url