Txn(Int32, Int32) Constructor

Create transaction, assign random transaction id and initialize reads/writes hashmaps with given capacities.

The default client transaction timeout is zero. This means use the server configuration mrt-duration as the transaction timeout. The default mrt-duration is 10 seconds.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
C#
public Txn(
	int readsCapacity,
	int writesCapacity
)

Parameters

readsCapacity  Int32
expected number of record reads in the transaction. Minimum value is 16.
writesCapacity  Int32
expected number of record writes in the transaction. Minimum value is 16.

See Also