![]() |
Read Policy
Definition at line 366 of file as_policy.h.
#include "as_policy.h"
Data Fields | |
as_policy_consistency_level | consistency_level |
as_policy_key | key |
as_policy_replica | replica |
uint32_t | timeout |
Related Functions | |
(Note that these are not member functions.) | |
static void | as_policy_read_copy (as_policy_read *src, as_policy_read *trg) |
static as_policy_read * | as_policy_read_init (as_policy_read *p) |
|
related |
Copy as_policy_read values.
src | The source policy. |
trg | The target policy. |
Definition at line 829 of file as_policy.h.
References consistency_level, key, replica, and timeout.
|
related |
Initialize as_policy_read to default values.
p | The policy to initialize. |
Definition at line 811 of file as_policy.h.
References AS_POLICY_CONSISTENCY_LEVEL_DEFAULT, AS_POLICY_KEY_DEFAULT, AS_POLICY_REPLICA_DEFAULT, AS_POLICY_TIMEOUT_DEFAULT, consistency_level, key, replica, and timeout.
as_policy_consistency_level as_policy_read::consistency_level |
Specifies the number of replicas consulted when reading for the desired consistency guarantee.
Definition at line 388 of file as_policy.h.
as_policy_key as_policy_read::key |
Specifies the behavior for the key.
Definition at line 377 of file as_policy.h.
as_policy_replica as_policy_read::replica |
Specifies the replica to be consulted for the read.
Definition at line 382 of file as_policy.h.
uint32_t as_policy_read::timeout |
Maximum time in milliseconds to wait for the operation to complete.
Definition at line 372 of file as_policy.h.