Seastar
High performance C++ framework for concurrent servers
|
Public Types | |
using | value_list_type = boost::intrusive::list< basic_value, boost::intrusive::base_hook< list_base_hook >, boost::intrusive::constant_time_size< false > > |
using | option_group_list_type = boost::intrusive::list< option_group, boost::intrusive::base_hook< list_base_hook >, boost::intrusive::constant_time_size< false > > |
Public Member Functions | |
operator bool () const | |
Does the option group has any values contained in it? | |
bool | used () const |
const std::string & | name () const |
const value_list_type & | values () const |
value_list_type & | values () |
void | describe (options_descriptor &descriptor) const |
void | mutate (options_mutator &mutator) |
Public Attributes | |
program_options::value< bool > | collectd |
Enable collectd daemon. More... | |
program_options::value< std::string > | collectd_address |
Address to send/broadcast metrics to. More... | |
program_options::value< unsigned > | collectd_poll_period |
Poll period (ms). More... | |
program_options::value< std::string > | collectd_hostname |
|
inherited |
Describe the content of this option group to the visitor.
The content is visited in a depth-first manner:
false
the entire content of the group, including all its subgroups and values are skipped and options_descriptor::visit_group_end() is called immediately. Otherwise visiting the content of the group proceeds.false
the value is skipped, otherwise visiting the value proceeds.
|
inherited |
Mutate the content of this option group by the visitor.
The visiting algorithm is identical to that of describe(), with the following differences:
true
if it did so and false
otherwise.program_options::value<bool> seastar::scollectd::options::collectd |
Enable collectd daemon.
Default: false
.
program_options::value<std::string> seastar::scollectd::options::collectd_address |
Address to send/broadcast metrics to.
Default: 239.192.74.66
:25826.
program_options::value<std::string> seastar::scollectd::options::collectd_hostname |
program_options::value<unsigned> seastar::scollectd::options::collectd_poll_period |
Poll period (ms).
Frequency of sending counter metrics (0 disables). Default: 1000
.