navigation

Class: Cluster

Cluster-wide Cluster metadata

Enums

cluster_operation

Fields

enum cluster_operation set allowed_operations [RO/runtime]
(string → string) map cluster_config [RO/constructor]
Cluster_host ref set cluster_hosts [RO/runtime]
string cluster_stack [RO/constructor]
string cluster_token [RO/constructor]
(string → enum cluster_operation) map current_operations [RO/runtime]
Prototype
bool is_quorate [RO/runtime]
Prototype
int live_hosts [RO/runtime]
(string → string) map other_config [RW]
string set pending_forget [RO/runtime]
bool pool_auto_join [RO/constructor]
Prototype
int quorum [RO/runtime]
float token_timeout [RO/constructor]
float token_timeout_coefficient [RO/constructor]
string uuid [RO/runtime]

Messages

void add_to_other_config (session ref, Cluster ref, string, string)
Cluster ref create (session ref, PIF ref, string, bool, float, float)
void destroy (session ref, Cluster ref)
Cluster ref set get_all (session ref)
(Cluster ref → Cluster record) map get_all_records (session ref)
enum cluster_operation set get_allowed_operations (session ref, Cluster ref)
Cluster ref get_by_uuid (session ref, string)
(string → string) map get_cluster_config (session ref, Cluster ref)
Cluster_host ref set get_cluster_hosts (session ref, Cluster ref)
string get_cluster_stack (session ref, Cluster ref)
string get_cluster_token (session ref, Cluster ref)
(string → enum cluster_operation) map get_current_operations (session ref, Cluster ref)
Prototype
bool get_is_quorate (session ref, Cluster ref)
Prototype
int get_live_hosts (session ref, Cluster ref)
network ref get_network (session ref, Cluster ref)
(string → string) map get_other_config (session ref, Cluster ref)
string set get_pending_forget (session ref, Cluster ref)
bool get_pool_auto_join (session ref, Cluster ref)
Prototype
int get_quorum (session ref, Cluster ref)
Cluster record get_record (session ref, Cluster ref)
float get_token_timeout (session ref, Cluster ref)
float get_token_timeout_coefficient (session ref, Cluster ref)
string get_uuid (session ref, Cluster ref)
Cluster ref pool_create (session ref, network ref, string, float, float)
void pool_destroy (session ref, Cluster ref)
void pool_force_destroy (session ref, Cluster ref)
void pool_resync (session ref, Cluster ref)
void remove_from_other_config (session ref, Cluster ref, string)
void set_other_config (session ref, Cluster ref, (string → string) map)