Module aerospike::policy

source ·
Expand description

Policy types encapsulate optional parameters for various client operations.

Structs

  • Policy attributes used for user administration commands.
  • Common parameters shared by all policy types.
  • BatchPolicy encapsulates parameters for all batch operations.
  • ClientPolicy encapsulates parameters for client policy command.
  • QueryPolicy encapsulates parameters for query operations.
  • ScanPolicy encapsulates optional parameters used in scan operations.
  • WritePolicy encapsulates parameters for all write operations.

Enums

  • CommitLevel determines how to handle record writes based on record generation.
  • 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 indicates how replicas should be consulted in a read operation to provide the desired consistency guarantee.
  • Record expiration, also known as time-to-live (TTL).
  • GenerationPolicy determines how to handle record writes based on record generation.
  • Priority of operations on database server.
  • RecordExistsAction determines how to handle record writes based on record generation.

Traits

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

Type Definitions

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