Statistics for each Aerospike client instance.
Data Structures | |
struct | as_cluster_stats |
struct | as_conn_stats |
struct | as_event_loop_stats |
struct | as_node_stats |
Functions | |
AS_EXTERN void | aerospike_cluster_stats (struct as_cluster_s *cluster, as_cluster_stats *stats) |
static void | aerospike_event_loop_stats (as_event_loop *event_loop, as_event_loop_stats *stats) |
AS_EXTERN void | aerospike_node_stats (as_node *node, as_node_stats *stats) |
static void | aerospike_node_stats_destroy (as_node_stats *stats) |
static void | aerospike_stats (aerospike *as, as_cluster_stats *stats) |
AS_EXTERN void | aerospike_stats_destroy (as_cluster_stats *stats) |
AS_EXTERN char * | aerospike_stats_to_string (as_cluster_stats *stats) |
AS_EXTERN void aerospike_cluster_stats | ( | struct as_cluster_s * | cluster, |
as_cluster_stats * | stats | ||
) |
Retrieve aerospike cluster statistics.
cluster | The aerospike cluster. |
stats | The statistics summary for specified cluster. |
|
inlinestatic |
Retrieve aerospike event loop statistics.
event_loop | The event loop. |
stats | The statistics summary for specified event loop. |
Definition at line 229 of file aerospike_stats.h.
References as_event_loop_get_process_size(), as_event_loop_get_queue_size(), as_event_loop_stats::process_size, and as_event_loop_stats::queue_size.
AS_EXTERN void aerospike_node_stats | ( | as_node * | node, |
as_node_stats * | stats | ||
) |
Retrieve aerospike node statistics.
node | The server node. |
stats | The statistics summary for specified node. |
|
inlinestatic |
Release node reference allocated in aerospike_node_stats().
stats | The statistics summary for specified node. |
Definition at line 215 of file aerospike_stats.h.
References as_node_release(), and as_node_stats::node.
|
inlinestatic |
Retrieve aerospike client instance statistics.
as | The aerospike instance. |
stats | The statistics summary for specified client instance. |
Definition at line 181 of file aerospike_stats.h.
References aerospike_cluster_stats(), and aerospike::cluster.
AS_EXTERN void aerospike_stats_destroy | ( | as_cluster_stats * | stats | ) |
Release node references and memory allocated in aerospike_stats().
stats | The cluster statistics summary. |
AS_EXTERN char* aerospike_stats_to_string | ( | as_cluster_stats * | stats | ) |
Return string representation of cluster statistics. The string should be freed when it's no longer needed.