| 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). |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
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
void
setHttpClient
(HttpClient httpClient)
public
void
setHttpRequestRetryHandler
(HttpRequestRetryHandler httpRequestRetryHandler)
public
void
setMapReducePath
(String mapReducePath)
public
void
setMaxConnections
(int maxConnections)
public
void
setRiakPath
(String riakPath)
public
void
setTimeout
(int timeout)
public
void
setUrl
(String url)