AerospikeClientFactoryCreateClient Method

Return an AerospikeClient or AerospikeClientProxy based on isProxy

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static IAerospikeClient CreateClient(
	ClientPolicy policy,
	bool isProxy,
	params Host[] hosts
)

Parameters

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

Return Value

IAerospikeClient

See Also