![]() |
Read Policy
Definition at line 419 of file as_policy.h.
#include "as_policy.h"
Data Fields | |
as_policy_base | base |
as_policy_consistency_level | consistency_level |
bool | deserialize |
as_policy_key | key |
bool | linearize_read |
as_policy_replica | replica |
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 966 of file as_policy.h.
|
related |
Initialize as_policy_read to default values.
p | The policy to initialize. |
Definition at line 943 of file as_policy.h.
References AS_POLICY_CONSISTENCY_LEVEL_DEFAULT, AS_POLICY_KEY_DEFAULT, AS_POLICY_MAX_RETRIES_DEFAULT, AS_POLICY_REPLICA_DEFAULT, AS_POLICY_SLEEP_BETWEEN_RETRIES_DEFAULT, AS_POLICY_SOCKET_TIMEOUT_DEFAULT, AS_POLICY_TOTAL_TIMEOUT_DEFAULT, base, consistency_level, deserialize, key, linearize_read, as_policy_base::max_retries, replica, as_policy_base::sleep_between_retries, as_policy_base::socket_timeout, and as_policy_base::total_timeout.
as_policy_base as_policy_read::base |
Generic policy fields.
Definition at line 424 of file as_policy.h.
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 439 of file as_policy.h.
bool as_policy_read::deserialize |
Should raw bytes representing a list or map be deserialized to as_list or as_map. Set to false for backup programs that just need access to raw bytes. Default: true
Definition at line 446 of file as_policy.h.
as_policy_key as_policy_read::key |
Specifies the behavior for the key.
Definition at line 429 of file as_policy.h.
bool as_policy_read::linearize_read |
Force reads to be linearized for server namespaces that support CP mode. Default: false
Definition at line 452 of file as_policy.h.
as_policy_replica as_policy_read::replica |
Specifies the replica to be consulted for the read.
Definition at line 434 of file as_policy.h.