Policy Management
Aerospike client policies enable great flexibility with regard to reading and writing data. With an Aerospike client policy, you can create read-modify-write patterns of optimistic concurrency, control the time to live, and choose whether to write a record based on the existence of the same record. You can set default policies and then modify them on a per-query basis for maximum performance.
Policies exist with each client, and have slightly different APIs. Once you understand which policies you need for your application, see the client-specific documentation for precise syntax.