public class HTTPClusterClient extends ClusterClient<HTTPClientConfig>
HTTPClientAdapter
RawClient
instances from a given HTTPClusterConfig
NOTE: In the case the the HTTPClusterConfig#getMaxConnections
is NOT
ClusterConfig.UNLIMITED_CONNECTIONS
an HttpClient
delegate is
created for each node. This is to ensure that the cluster maximum connections
limit is enforced. The HTTPClientConfig.getHttpClient()
value for
each node config is, therefore, ignored.
Constructor and Description |
---|
HTTPClusterClient(ClusterConfig<HTTPClientConfig> clusterConfig) |
Modifier and Type | Method and Description |
---|---|
protected RawClient[] |
fromConfig(ClusterConfig<HTTPClientConfig> clusterConfig)
Create an array of clients for the cluster from the given
ClusterConfig . |
Transport |
getTransport()
The raw transport name.
|
delete, delete, delete, fetch, fetch, fetch, fetchBucket, fetchCounter, fetchIndex, fetchIndex, generateAndSetClientId, getClientId, head, incrementCounter, linkWalk, listBuckets, listBucketsStreaming, listKeys, mapReduce, ping, resetBucketProperties, setClientId, shutdown, stats, store, store, updateBucket
public HTTPClusterClient(ClusterConfig<HTTPClientConfig> clusterConfig) throws IOException
clusterConfig
- IOException
protected RawClient[] fromConfig(ClusterConfig<HTTPClientConfig> clusterConfig) throws IOException
ClusterClient
ClusterConfig
.fromConfig
in class ClusterClient<HTTPClientConfig>
RawClient
delegates that make up the clusterIOException
Copyright © 2013. All Rights Reserved.