#include <aerospike/as_admin.h>
#include <aerospike/as_cluster.h>
#include <aerospike/as_listener.h>
#include <aerospike/as_queue.h>
#include <aerospike/as_proto.h>
#include <aerospike/as_socket.h>
#include <citrusleaf/cf_ll.h>
#include <pthread.h>
#include <stdint.h>
#include <stdbool.h>
#include <unistd.h>
Go to the source code of this file.
|
static as_event_loop * | as_event_assign (as_event_loop *event_loop) |
|
void | as_event_close_connection (as_event_connection *conn) |
|
bool | as_event_command_begin (as_event_command *cmd) |
|
as_status | as_event_command_execute (as_event_command *cmd, as_error *err) |
|
void | as_event_command_free (as_event_command *cmd) |
|
bool | as_event_command_parse_header (as_event_command *cmd) |
|
bool | as_event_command_parse_result (as_event_command *cmd) |
|
bool | as_event_command_parse_success_failure (as_event_command *cmd) |
|
static void | as_event_command_release (as_event_command *cmd) |
|
bool | as_event_create_loop (as_event_loop *event_loop) |
|
static void | as_event_decr_conn (as_event_command *cmd) |
|
static void | as_event_decr_connection (as_cluster *cluster, as_conn_pool *pool) |
|
void | as_event_error_callback (as_event_command *cmd, as_error *err) |
|
bool | as_event_execute (as_event_loop *event_loop, as_event_executable executable, void *udata) |
|
void | as_event_executor_cancel (as_event_executor *executor, int queued_count) |
|
void | as_event_executor_complete (as_event_command *cmd) |
|
as_connection_status | as_event_get_connection (as_event_command *cmd) |
|
void | as_event_node_destroy (as_node *node) |
|
void | as_event_register_external_loop (as_event_loop *event_loop) |
|
static void | as_event_release_connection (as_cluster *cluster, as_event_connection *conn, as_conn_pool *pool) |
|
void | as_event_response_error (as_event_command *cmd, as_error *err) |
|
static void | as_event_set_auth_parse_header (as_event_command *cmd) |
|
static void | as_event_set_auth_read_header (as_event_command *cmd) |
|
static void | as_event_set_auth_write (as_event_command *cmd) |
|
static void | as_event_set_conn_last_used (as_event_connection *conn, uint32_t max_socket_idle) |
|
void | as_event_socket_error (as_event_command *cmd, as_error *err) |
|
static void | as_event_stop_timer (as_event_command *cmd) |
|
static void | as_event_stop_watcher (as_event_command *cmd, as_event_connection *conn) |
|
void | as_event_timeout (as_event_command *cmd) |
|
static int | as_event_validate_connection (as_event_connection *conn) |
|
#define AS_ASYNC_AUTH_RETURN_CODE 1 |
#define AS_ASYNC_FLAGS_EVENT_RECEIVED 2 |
#define AS_ASYNC_FLAGS_FREE_BUF 1 |
#define AS_ASYNC_STATE_AUTH_READ_BODY 8 |
#define AS_ASYNC_STATE_AUTH_READ_HEADER 4 |
#define AS_ASYNC_STATE_AUTH_WRITE 2 |
#define AS_ASYNC_STATE_READ_BODY 64 |
#define AS_ASYNC_STATE_READ_HEADER 32 |
#define AS_ASYNC_STATE_TLS_CONNECT 1 |
#define AS_ASYNC_STATE_UNREGISTERED 0 |
#define AS_ASYNC_STATE_WRITE 16 |
#define AS_EVENT_CONNECTION_COMPLETE 0 |
#define AS_EVENT_CONNECTION_ERROR 2 |
#define AS_EVENT_CONNECTION_PENDING 1 |
#define AS_EVENT_QUEUE_INITIAL_CAPACITY 256 |
typedef void(* as_event_executable)(void *udata) |
Enumerator |
---|
AS_CONNECTION_FROM_POOL |
|
AS_CONNECTION_NEW |
|
AS_CONNECTION_TOO_MANY |
|
Definition at line 158 of file as_event_internal.h.
Schedule execution of function on specified event loop. Command is placed on event loop queue and is never executed directly.
void as_event_node_destroy |
( |
as_node * |
node | ) |
|
void as_event_register_external_loop |
( |
as_event_loop * |
event_loop | ) |
|
static void as_event_set_conn_last_used |
( |
as_event_connection * |
conn, |
|
|
uint32_t |
max_socket_idle |
|
) |
| |
|
inlinestatic |