BatchUDFPolicy.OnLockingOnly Field
Execute the write command only if the record is not already locked by this transaction.
If this field is true and the record is already locked by this transaction, the command
will throw an exception with the
MRT_ALREADY_LOCKED
error code.
This field is useful for safely retrying non-idempotent writes as an alternative to simply
aborting the transaction. This field is not applicable to record delete commands.
Default: false.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public bool OnLockingOnly
Field Value
Boolean