- Add host to the cluster map
- Request host's list of other nodes in cluster
- Add these nodes to cluster map
In most cases, only one host is necessary to seed the cluster. The remaining hosts are added as future seeds in case of a complete network failure.
If one connection succeeds, the client is ready to process database requests. If all connections fail and the policy's failIfNotConnected is true, a connection exception will be thrown. Otherwise, the cluster will remain in a disconnected state until the server is activated.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 22.214.171.124 (5.1.1)
public AerospikeClient( ClientPolicy policy, params Host hosts )
- Type: Aerospike.ClientClientPolicy
client configuration parameters, pass in null for defaults
- Type: Aerospike.ClientHost
array of potential hosts to seed the cluster
|AerospikeException||if all host connections fail|