#if !defined(_CLUSTERCONFIG_H_) #define _CLUSTERCONFIG_H_ 1 #include "xce/types.h" typedef struct { char* clustername; int heartbeat_interval; int inactive_heartbeat_count; int fetch_job_interval; int netio_timeout; int nres; xce_resource_t** resources; int nqueues; xce_queue_t** queues; int nugroups; xce_group_config_t** ugroups; int nhgroups; xce_group_config_t** hgroups; int nhconfigs; xce_hostconfig_t** hconfigs; int nhproviders; scaler_config_t** hproviders; int nlimits; xce_limit_config_t** limits; uint64_t config_generation; /* monotonic audit counter from capnp schema */ /* worker-rejoin-resync (Req 3.7, 5.3): shared, cluster-wide via * operational-uniformity override (design.md Configuration Model) -- * alongside heartbeat_interval/inactive_heartbeat_count above, same * domain. */ int worker_resync_window_ms; int worker_resync_timeout_ms; } cluster_config_t; #endif