public class HTTPClusterConfig extends ClusterConfig<HTTPClientConfig>
ClusterConfig that provides the generic typeUNLIMITED_CONNECTIONS| Constructor and Description |
|---|
HTTPClusterConfig(int totalMaximumConnections) |
| Modifier and Type | Method and Description |
|---|---|
ClusterConfig<HTTPClientConfig> |
addHosts(HTTPClientConfig config,
String... hosts)
Convenience method for creating a cluster of hosts with a common
config except for host
|
ClusterConfig<HTTPClientConfig> |
addHosts(String... hosts)
Convenience method for creating a cluster of hosts with a common, default
config except for host
|
addClient, getClients, getTotalMaximumConnectionspublic HTTPClusterConfig(int totalMaximumConnections)
totalMaximumConnections - public ClusterConfig<HTTPClientConfig> addHosts(String... hosts)
ClusterConfigaddHosts in class ClusterConfig<HTTPClientConfig>hosts - var arg String array of hostsClusterConfig with a node for each host in
hostspublic ClusterConfig<HTTPClientConfig> addHosts(HTTPClientConfig config, String... hosts)
ClusterConfigaddHosts in class ClusterConfig<HTTPClientConfig>config - T the common base confighosts - var arg String array of hostsClusterConfig with a node for each host in
hostsCopyright © 2014. All Rights Reserved.