Loading...
Searching...
No Matches
Data Structures | Macros | Functions
as_async.h File Reference
#include <aerospike/as_async_proto.h>
#include <aerospike/as_command.h>
#include <aerospike/as_cluster.h>
#include <aerospike/as_event_internal.h>
#include <aerospike/as_listener.h>
#include <citrusleaf/alloc.h>
+ Include dependency graph for as_async.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  as_async_info_command
 
struct  as_async_record_command
 
struct  as_async_value_command
 
struct  as_async_write_command
 

Macros

#define AS_ASYNC_CONNECTION_COMPLETE   0
 
#define AS_ASYNC_CONNECTION_ERROR   2
 
#define AS_ASYNC_CONNECTION_PENDING   1
 
#define AS_ASYNC_TYPE_BATCH   3
 
#define AS_ASYNC_TYPE_CONNECTOR   9
 
#define AS_ASYNC_TYPE_INFO   6
 
#define AS_ASYNC_TYPE_QUERY   5
 
#define AS_ASYNC_TYPE_QUERY_PARTITION   8
 
#define AS_ASYNC_TYPE_RECORD   1
 
#define AS_ASYNC_TYPE_SCAN   4
 
#define AS_ASYNC_TYPE_SCAN_PARTITION   7
 
#define AS_ASYNC_TYPE_VALUE   2
 
#define AS_ASYNC_TYPE_WRITE   0
 
#define AS_AUTHENTICATION_MAX_SIZE   158
 

Functions

static as_event_commandas_async_info_command_create (as_node *node, const as_policy_info *policy, as_async_info_listener listener, void *udata, as_event_loop *event_loop, size_t size)
 
static as_event_commandas_async_record_command_create (as_cluster *cluster, const as_policy_base *policy, as_partition_info *pi, as_policy_replica replica, uint8_t replica_index, bool deserialize, bool heap_rec, uint8_t flags, as_async_record_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results, as_latency_type latency_type)
 
static as_event_commandas_async_value_command_create (as_cluster *cluster, const as_policy_base *policy, as_partition_info *pi, as_policy_replica replica, as_async_value_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results)
 
static as_event_commandas_async_write_command_create (as_cluster *cluster, const as_policy_base *policy, as_partition_info *pi, as_policy_replica replica, as_async_write_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results)
 

Macro Definition Documentation

◆ AS_ASYNC_CONNECTION_COMPLETE

#define AS_ASYNC_CONNECTION_COMPLETE   0

Definition at line 47 of file as_async.h.

◆ AS_ASYNC_CONNECTION_ERROR

#define AS_ASYNC_CONNECTION_ERROR   2

Definition at line 49 of file as_async.h.

◆ AS_ASYNC_CONNECTION_PENDING

#define AS_ASYNC_CONNECTION_PENDING   1

Definition at line 48 of file as_async.h.

◆ AS_ASYNC_TYPE_BATCH

#define AS_ASYNC_TYPE_BATCH   3

Definition at line 37 of file as_async.h.

◆ AS_ASYNC_TYPE_CONNECTOR

#define AS_ASYNC_TYPE_CONNECTOR   9

Definition at line 43 of file as_async.h.

◆ AS_ASYNC_TYPE_INFO

#define AS_ASYNC_TYPE_INFO   6

Definition at line 40 of file as_async.h.

◆ AS_ASYNC_TYPE_QUERY

#define AS_ASYNC_TYPE_QUERY   5

Definition at line 39 of file as_async.h.

◆ AS_ASYNC_TYPE_QUERY_PARTITION

#define AS_ASYNC_TYPE_QUERY_PARTITION   8

Definition at line 42 of file as_async.h.

◆ AS_ASYNC_TYPE_RECORD

#define AS_ASYNC_TYPE_RECORD   1

Definition at line 35 of file as_async.h.

◆ AS_ASYNC_TYPE_SCAN

#define AS_ASYNC_TYPE_SCAN   4

Definition at line 38 of file as_async.h.

◆ AS_ASYNC_TYPE_SCAN_PARTITION

#define AS_ASYNC_TYPE_SCAN_PARTITION   7

Definition at line 41 of file as_async.h.

◆ AS_ASYNC_TYPE_VALUE

#define AS_ASYNC_TYPE_VALUE   2

Definition at line 36 of file as_async.h.

◆ AS_ASYNC_TYPE_WRITE

#define AS_ASYNC_TYPE_WRITE   0

Definition at line 34 of file as_async.h.

◆ AS_AUTHENTICATION_MAX_SIZE

#define AS_AUTHENTICATION_MAX_SIZE   158

Definition at line 45 of file as_async.h.

Function Documentation

◆ as_async_info_command_create()

static as_event_command * as_async_info_command_create ( as_node * node,
const as_policy_info * policy,
as_async_info_listener listener,
void * udata,
as_event_loop * event_loop,
size_t size )
inlinestatic

◆ as_async_record_command_create()

static as_event_command * as_async_record_command_create ( as_cluster * cluster,
const as_policy_base * policy,
as_partition_info * pi,
as_policy_replica replica,
uint8_t replica_index,
bool deserialize,
bool heap_rec,
uint8_t flags,
as_async_record_listener listener,
void * udata,
as_event_loop * event_loop,
as_pipe_listener pipe_listener,
size_t size,
as_event_parse_results_fn parse_results,
as_latency_type latency_type )
inlinestatic

◆ as_async_value_command_create()

static as_event_command * as_async_value_command_create ( as_cluster * cluster,
const as_policy_base * policy,
as_partition_info * pi,
as_policy_replica replica,
as_async_value_listener listener,
void * udata,
as_event_loop * event_loop,
as_pipe_listener pipe_listener,
size_t size,
as_event_parse_results_fn parse_results )
inlinestatic

◆ as_async_write_command_create()

static as_event_command * as_async_write_command_create ( as_cluster * cluster,
const as_policy_base * policy,
as_partition_info * pi,
as_policy_replica replica,
as_async_write_listener listener,
void * udata,
as_event_loop * event_loop,
as_pipe_listener pipe_listener,
size_t size,
as_event_parse_results_fn parse_results )
inlinestatic