AerospikeClientFactoryCreateClient Method
Return an AerospikeClient or AerospikeClientProxy based on isProxy
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public static IAerospikeClient CreateClient(
ClientPolicy policy,
bool isProxy,
params Host[] hosts
)
- policy ClientPolicy
- client configuration policy, use null for defaults
- isProxy Boolean
- if true, return AerospikeClientProxy otherwise return AerospikeClient
- hosts Host
- array of server hosts that the client can connect
IAerospikeClient