29 (
"log-broker",
str(),
"Use the specified FS broker (in <host>:<port> "
30 "format for commit log)")
31 (
"crash-test",
str(),
"Arguments for crash simulation")
33 alias(
"port",
"Hypertable.RangeServer.Port");
34 alias(
"log-host",
"Hypertable.RangeServer.CommitLog.DfsBroker.Host");
35 alias(
"log-port",
"Hypertable.RangeServer.CommitLog.DfsBroker.Port");
36 alias(
"reactors",
"Hypertable.RangeServer.Reactors");
37 alias(
"workers",
"Hypertable.RangeServer.Workers");
43 if (logbroker.length()) {
48 "log-broker, got '%s'", logbroker.c_str());
PropertiesPtr properties
This singleton map stores all options.
std::string String
A String is simply a typedef to std::string.
static Endpoint parse_endpoint(const char *endpoint, int defport=0)
Parse an endpoint string in (host:port) format.
Po::typed_value< String > * str(String *v=0)
Desc & cmdline_desc(const char *usage)
A macro which definds global functions like get_bool(), get_str(), get_i16() etc. ...
Compatibility Macros for C/C++.
#define HT_THROWF(_code_, _fmt_,...)
void alias(const String &cmdline_opt, const String &file_opt, bool overwrite)
Setup command line option alias for config file option.
void init_range_server_options()
High-level entry point to a service; wraps a host:port pair.