AerospikeClientFactoryCreateAsyncClient Method

Return an AsyncClient or AsyncClientProxy based on isProxy.

Definition

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

Parameters

policy  AsyncClientPolicy
client configuration policy, use null for defaults
isProxy  Boolean
if true, return AsyncClientProxy otherwise return AsyncClient
hosts  Host
array of server hosts that the client can connect

Return Value

IAsyncClient

See Also