Get a socket connection from connection pool to the server node.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public Connection GetConnection( int timeoutMillis )
Parameters
- timeoutMillis
- Type: SystemInt32
connection timeout value in milliseconds if a new connection is created
Return Value
Type: ConnectionExceptions
Exception | Condition |
---|---|
AerospikeException | if a connection could not be provided |
See Also