27 #ifndef Hypertable_RangeServer_ServerState_h
28 #define Hypertable_RangeServer_ServerState_h
59 void set(int64_t generation,
const std::vector<SystemVariable::Spec> &specs);
70 std::vector<SystemVariable::Spec>
m_specs;
77 #endif // Hypertable_RangeServer_ServerState_h
bool readonly()
Returns value of READONLY variable.
virtual ~ServerState()
Destructor.
void set(int64_t generation, const std::vector< SystemVariable::Spec > &specs)
Sets state variables.
Declarations for SystemVariable.
std::vector< SystemVariable::Spec > m_specs
System state variable specifications.
std::mutex m_mutex
Mutex for serializing concurrent access
ServerState()
Constructor.
Holds dynamic server state.
int64_t m_generation
System state generation.