Module aerospike::policy [] [src]

Policy types encapsulate optional parameters for various client operations.

Structs

AdminPolicy

Policy attributes used for user administration commands.

BasePolicy

Common parameters shared by all policy types.

BatchPolicy

BatchPolicy encapsulates parameters for all batch operations.

ClientPolicy

ClientPolicy encapsulates parameters for client policy command.

QueryPolicy

QueryPolicy encapsulates parameters for query operations.

ScanPolicy

ScanPolicy encapsulates optional parameters used in scan operations.

WritePolicy

WritePolicy encapsulates parameters for all write operations.

Enums

CommitLevel

CommitLevel determines how to handle record writes based on record generation.

Concurrency

Specifies whether a command, that needs to be executed on multiple cluster nodes, should be executed sequentially, one node at a time, or in parallel on multiple nodes using the client's thread pool.

ConsistencyLevel

ConsistencyLevel indicates how replicas should be consulted in a read operation to provide the desired consistency guarantee.

Expiration

Record expiration, also known as time-to-live (TTL).

GenerationPolicy

GenerationPolicy determines how to handle record writes based on record generation.

Priority

Priority of operations on database server.

RecordExistsAction

RecordExistsAction determines how to handle record writes based on record generation.

Traits

Policy

Trait implemented by most policy types; policies that implement this trait typically encompass an instance of BasePolicy.

Type Definitions

ReadPolicy

ReadPolicy excapsulates parameters for transaction policy attributes used in all database operation calls.