Package | Description |
---|---|
com.basho.riak.client.raw |
The raw interfaces/classes exist to provide unified access to any underlying transport clients for Riak
|
com.basho.riak.client.raw.config | |
com.basho.riak.client.raw.http |
Classes for adapting the http.
RiakClient to the
RawClient interface |
com.basho.riak.client.raw.pbc |
Classes for adapting the pbc.
RiakClient to the
RawClient interface |
Modifier and Type | Method and Description |
---|---|
protected abstract RawClient[] |
ClusterClient.fromConfig(ClusterConfig<T> clusterConfig)
Create an array of clients for the cluster from the given
ClusterConfig . |
Constructor and Description |
---|
ClusterClient(ClusterConfig<T> clusterConfig) |
Modifier and Type | Method and Description |
---|---|
ClusterConfig<T> |
ClusterConfig.addClient(T clientConfig)
Add a new client config to the collection of client in the cluster config
|
protected abstract ClusterConfig<T> |
ClusterConfig.addHosts(String... hosts)
Convenience method for creating a cluster of hosts with a common, default
config except for host
|
protected abstract ClusterConfig<T> |
ClusterConfig.addHosts(T config,
String... hosts)
Convenience method for creating a cluster of hosts with a common
config except for host
|
Modifier and Type | Class and Description |
---|---|
class |
HTTPClusterConfig
Concrete child of
ClusterConfig that provides the generic type |
Modifier and Type | Method and Description |
---|---|
ClusterConfig<HTTPClientConfig> |
HTTPClusterConfig.addHosts(HTTPClientConfig config,
String... hosts) |
ClusterConfig<HTTPClientConfig> |
HTTPClusterConfig.addHosts(String... hosts) |
Modifier and Type | Method and Description |
---|---|
protected RawClient[] |
HTTPClusterClient.fromConfig(ClusterConfig<HTTPClientConfig> clusterConfig) |
Constructor and Description |
---|
HTTPClusterClient(ClusterConfig<HTTPClientConfig> clusterConfig) |
Modifier and Type | Class and Description |
---|---|
class |
PBClusterConfig
ClusterConfig implementation that provides PBClientConfig as
the generic type. |
Modifier and Type | Method and Description |
---|---|
ClusterConfig<PBClientConfig> |
PBClusterConfig.addHosts(PBClientConfig config,
String... hosts) |
ClusterConfig<PBClientConfig> |
PBClusterConfig.addHosts(String... hosts) |
Modifier and Type | Method and Description |
---|---|
protected RawClient[] |
PBClusterClient.fromConfig(ClusterConfig<PBClientConfig> clusterConfig) |
Constructor and Description |
---|
PBClusterClient(ClusterConfig<PBClientConfig> clusterConfig) |
Copyright © 2013. All Rights Reserved.