24 #define PERSISTENCE_SEND_CLUSTER 1 25 #define PERSISTENCE_SEND_LISTENERS 2 28 typedef void (*persistence_rebalance_cb)(
void *context,
const char *key,
const char *value);
45 void (*key_updated)(
void *ctx,
const char *key,
const char *value);
46 void (*key_deleted)(
void *ctx,
const char *key);
60 int (*replicate_should_enable)(
const char *key);
61 void (*replicate_send_update)(
ds_data_t *dsdata);
62 void (*replicate_add_rebalance_listener)(
const char *query_prefix, persistence_rebalance_cb cb,
void *context);
63 int (*persist_add_key)(
const char *key,
const char *value,
int flags);
64 int (*persist_delete_key)(
const char *key,
int flags);
65 char *(*persist_get)(
const char *identifier);
Persistence execution functions.
Definition: persistence.h:57
void(* persistence_query_cb)(void *context, const char *key, const char *value)
Persistence query callback type.
Definition: persistence.h:35
A data update object.
Definition: datasrc.h:2425
Persistence change listener functions.
Definition: persistence.h:44
int version
Definition: persistence.h:58
int patch
Definition: persistence.h:59