Go to the source code of this file.
|
as_status | as_info_command (as_error *err, as_socket *sock, char *names, bool send_asis, uint64_t deadline_ms, uint64_t max_response_length, char **values) |
|
as_status | as_info_command_host (as_cluster *cluster, as_error *err, struct sockaddr *addr, char *command, bool send_asis, uint64_t deadline_ms, char **response, const char *tls_name) |
|
as_status | as_info_command_node (as_error *err, as_node *node, char *command, bool send_asis, uint64_t deadline_ms, char **response) |
|
as_status | as_info_command_random_node (aerospike *as, as_error *err, as_policy_info *policy, char *command) |
|
as_status | as_info_create_socket (as_cluster *cluster, as_error *err, struct sockaddr *addr, uint64_t deadline_ms, const char *tls_name, as_socket *sock) |
|
void | as_info_parse_multi_response (char *buf, as_vector *values) |
|
as_status | as_info_parse_single_response (char *values, char **value) |
|
as_status as_info_command |
( |
as_error * |
err, |
|
|
as_socket * |
sock, |
|
|
char * |
names, |
|
|
bool |
send_asis, |
|
|
uint64_t |
deadline_ms, |
|
|
uint64_t |
max_response_length, |
|
|
char ** |
values |
|
) |
| |
|
private |
Send info command to specific socket. The values must be freed by the caller on success. Set max_response_length to zero if response size should not be bounded.
as_status as_info_command_host |
( |
as_cluster * |
cluster, |
|
|
as_error * |
err, |
|
|
struct sockaddr * |
addr, |
|
|
char * |
command, |
|
|
bool |
send_asis, |
|
|
uint64_t |
deadline_ms, |
|
|
char ** |
response, |
|
|
const char * |
tls_name |
|
) |
| |
|
private |
Send info command to specific host. The values must be freed by the caller on success.
as_status as_info_command_node |
( |
as_error * |
err, |
|
|
as_node * |
node, |
|
|
char * |
command, |
|
|
bool |
send_asis, |
|
|
uint64_t |
deadline_ms, |
|
|
char ** |
response |
|
) |
| |
|
private |
Send info command to specific node. The values must be freed by the caller on success.
Send info command to random node. The values must be freed by the caller on success.
Create and authenticate socket for info requests.
void as_info_parse_multi_response |
( |
char * |
buf, |
|
|
as_vector * |
values |
|
) |
| |
|
private |
Parse info response buffer into name/value pairs, one for each command. The original buffer will be modified with null termination characters to delimit each command name and value referenced by the name/value pairs.
as_status as_info_parse_single_response |
( |
char * |
values, |
|
|
char ** |
value |
|
) |
| |
|
private |
Return the single command's info response buffer value. The original buffer will be modified with the null termination character.