71#define AS_POLICY_SOCKET_TIMEOUT_DEFAULT 30000
78#define AS_POLICY_TOTAL_TIMEOUT_DEFAULT 1000
85#define AS_POLICY_COMPRESSION_THRESHOLD_DEFAULT 0
92#define AS_POLICY_GEN_DEFAULT AS_POLICY_GEN_IGNORE
99#define AS_POLICY_KEY_DEFAULT AS_POLICY_KEY_DIGEST
106#define AS_POLICY_EXISTS_DEFAULT AS_POLICY_EXISTS_IGNORE
113#define AS_POLICY_REPLICA_DEFAULT AS_POLICY_REPLICA_SEQUENCE
120#define AS_POLICY_READ_MODE_AP_DEFAULT AS_POLICY_READ_MODE_AP_ONE
127#define AS_POLICY_READ_MODE_SC_DEFAULT AS_POLICY_READ_MODE_SC_SESSION
134#define AS_POLICY_COMMIT_LEVEL_DEFAULT AS_POLICY_COMMIT_LEVEL_ALL
149typedef enum as_policy_retry_e {
172typedef enum as_policy_gen_e {
200typedef enum as_policy_key_e {
236typedef enum as_policy_exists_e {
272typedef enum as_policy_replica_e {
312typedef enum as_policy_read_mode_ap_e {
333typedef enum as_policy_read_mode_sc_e {
370typedef enum as_policy_commit_level_e {
390typedef enum as_query_duration_e {
432typedef struct as_policy_base_s {
550typedef struct as_policy_read_s {
625typedef struct as_policy_write_s {
693typedef struct as_policy_apply_s {
745typedef struct as_policy_operate_s {
860typedef struct as_policy_remove_s {
909typedef struct as_policy_batch_s {
1048typedef struct as_policy_batch_read_s {
1101typedef struct as_policy_batch_write_s {
1165typedef struct as_policy_batch_apply_s {
1218typedef struct as_policy_batch_remove_s {
1269typedef struct as_policy_query_s {
1338typedef struct as_policy_scan_s {
1397typedef struct as_policy_info_s {
1421typedef struct as_policy_admin_s {
1437typedef struct as_policies_s {
1789 as_policy_batch_init(p);
static void as_policy_base_query_init(as_policy_base *p)
static void as_policy_base_read_init(as_policy_base *p)
static void as_policy_base_write_init(as_policy_base *p)
#define AS_POLICY_READ_MODE_AP_DEFAULT
#define AS_POLICY_COMPRESSION_THRESHOLD_DEFAULT
#define AS_POLICY_EXISTS_DEFAULT
#define AS_POLICY_READ_MODE_SC_DEFAULT
#define AS_POLICY_TOTAL_TIMEOUT_DEFAULT
#define AS_POLICY_REPLICA_DEFAULT
#define AS_POLICY_COMMIT_LEVEL_DEFAULT
#define AS_POLICY_GEN_DEFAULT
#define AS_POLICY_SOCKET_TIMEOUT_DEFAULT
#define AS_POLICY_KEY_DEFAULT
@ AS_POLICY_COMMIT_LEVEL_MASTER
@ AS_POLICY_COMMIT_LEVEL_ALL
@ AS_POLICY_READ_MODE_SC_ALLOW_REPLICA
@ AS_POLICY_READ_MODE_SC_SESSION
@ AS_POLICY_READ_MODE_SC_ALLOW_UNAVAILABLE
@ AS_POLICY_READ_MODE_SC_LINEARIZE
@ AS_POLICY_EXISTS_UPDATE
@ AS_POLICY_EXISTS_IGNORE
@ AS_POLICY_EXISTS_REPLACE
@ AS_POLICY_EXISTS_CREATE
@ AS_POLICY_EXISTS_CREATE_OR_REPLACE
@ AS_QUERY_DURATION_LONG_RELAX_AP
@ AS_QUERY_DURATION_SHORT
@ AS_POLICY_REPLICA_PREFER_RACK
@ AS_POLICY_REPLICA_MASTER
@ AS_POLICY_REPLICA_SEQUENCE
@ AS_POLICY_READ_MODE_AP_ONE
@ AS_POLICY_READ_MODE_AP_ALL
as_policies * as_policies_init(as_policies *p)
void as_policies_destroy(as_policies *p)
as_policy_batch batch_parent_write
as_policy_batch_apply batch_apply
as_policy_operate operate
as_policy_batch_remove batch_remove
as_policy_batch_write batch_write
static void as_policy_admin_copy(const as_policy_admin *src, as_policy_admin *trg)
static as_policy_admin * as_policy_admin_init(as_policy_admin *p)
static as_policy_apply * as_policy_apply_init(as_policy_apply *p)
static void as_policy_apply_copy(const as_policy_apply *src, as_policy_apply *trg)
as_policy_commit_level commit_level
as_policy_replica replica
struct as_exp * filter_exp
uint32_t sleep_between_retries
struct as_exp * filter_exp
static as_policy_batch_apply * as_policy_batch_apply_init(as_policy_batch_apply *p)
as_policy_commit_level commit_level
int read_touch_ttl_percent
as_policy_read_mode_ap read_mode_ap
struct as_exp * filter_exp
as_policy_read_mode_sc read_mode_sc
static as_policy_batch_read * as_policy_batch_read_init(as_policy_batch_read *p)
struct as_exp * filter_exp
as_policy_commit_level commit_level
static as_policy_batch_remove * as_policy_batch_remove_init(as_policy_batch_remove *p)
static as_policy_batch_write * as_policy_batch_write_init(as_policy_batch_write *p)
as_policy_commit_level commit_level
struct as_exp * filter_exp
static as_policy_batch * as_policy_batch_parent_write_init(as_policy_batch *p)
as_policy_read_mode_ap read_mode_ap
as_policy_replica replica
as_policy_read_mode_sc read_mode_sc
int read_touch_ttl_percent
static void as_policy_batch_copy(const as_policy_batch *src, as_policy_batch *trg)
static as_policy_batch * as_policy_batch_init(as_policy_batch *p)
static as_policy_info * as_policy_info_init(as_policy_info *p)
static void as_policy_info_copy(const as_policy_info *src, as_policy_info *trg)
as_policy_replica replica
static void as_policy_operate_copy(const as_policy_operate *src, as_policy_operate *trg)
as_policy_read_mode_ap read_mode_ap
as_policy_read_mode_sc read_mode_sc
as_policy_commit_level commit_level
int read_touch_ttl_percent
static as_policy_operate * as_policy_operate_init(as_policy_operate *p)
as_query_duration expected_duration
static void as_policy_query_copy(const as_policy_query *src, as_policy_query *trg)
static as_policy_query * as_policy_query_init(as_policy_query *p)
as_policy_replica replica
bool fail_on_cluster_change
static as_policy_read * as_policy_read_init(as_policy_read *p)
as_policy_read_mode_sc read_mode_sc
static void as_policy_read_copy(const as_policy_read *src, as_policy_read *trg)
int read_touch_ttl_percent
as_policy_read_mode_ap read_mode_ap
as_policy_replica replica
static void as_policy_remove_copy(const as_policy_remove *src, as_policy_remove *trg)
as_policy_commit_level commit_level
static as_policy_remove * as_policy_remove_init(as_policy_remove *p)
as_policy_replica replica
static as_policy_scan * as_policy_scan_init(as_policy_scan *p)
uint32_t records_per_second
as_policy_replica replica
static void as_policy_scan_copy(const as_policy_scan *src, as_policy_scan *trg)
uint32_t compression_threshold
static as_policy_write * as_policy_write_init(as_policy_write *p)
static void as_policy_write_copy(const as_policy_write *src, as_policy_write *trg)
as_policy_replica replica
as_policy_commit_level commit_level