![]() |
#include <aerospike/as_node.h>
Go to the source code of this file.
Data Structures | |
struct | as_partition |
struct | as_partition_table |
struct | as_partition_tables |
Macros | |
#define | AS_MAX_NAMESPACE_SIZE 32 |
Functions | |
static uint32_t | as_partition_getid (const uint8_t *digest, uint32_t n_partitions) |
void | as_partition_table_destroy (as_partition_table *table) |
as_partition_tables * | as_partition_tables_create (uint32_t capacity) |
bool | as_partition_tables_find_node (as_partition_tables *tables, as_node *node) |
as_partition_table * | as_partition_tables_get (as_partition_tables *tables, const char *ns) |
#define AS_MAX_NAMESPACE_SIZE 32 |
Maximum namespace size including null byte. Effective maximum length is 31.
Definition at line 32 of file as_partition.h.
|
inlinestaticprivate |
Return partition ID given digest.
Definition at line 142 of file as_partition.h.
|
private |
Destroy and release memory for partition table.
|
private |
Create reference counted structure containing partition tables.
|
private |
Is node referenced in any partition table.
|
private |
Get partition table given namespace.