|
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
9 namespace SWC{
namespace Config {
15 (
"swc.cfg.dyn.period",
g_i32(600000),
16 "Dynamic cfg-file check interval in ms, zero without")
19 "Manager Host: \"[cols range]|(hostname or ips-csv)|port\"")
20 (
"swc.mngr.port",
i16(15000),
21 "Manager default port if not defined in swc.mngr.host")
22 (
"swc.rgr.port",
i16(16000),
"Ranger port")
25 "Broker Host: \"(hostname or ips-csv)|port\"")
26 (
"swc.bkr.port",
i16(17000),
"Broker port")
28 (
"swc.client.Bkr.connection.timeout",
g_i32(10000),
29 "Broker client connect timeout")
30 (
"swc.client.Bkr.connection.probes",
g_i16(1),
31 "Broker client connect probes")
32 (
"swc.client.Bkr.connection.keepalive",
g_i32(30000),
33 "Broker client connection keepalive for ms since last action")
35 (
"swc.client.Bkr.comm.encoder",
41 "The encoding to use in communication, options PLAIN/ZSTD/SNAPPY/ZLIB")
43 (
"swc.client.Rgr.connection.timeout",
g_i32(10000),
44 "Ranger client connect timeout")
45 (
"swc.client.Rgr.connection.probes",
g_i16(1),
46 "Ranger client connect probes")
47 (
"swc.client.Rgr.connection.keepalive",
g_i32(30000),
48 "Ranger client connection keepalive for ms since last action")
50 (
"swc.client.Rgr.comm.encoder",
56 "The encoding to use in communication, options PLAIN/ZSTD/SNAPPY/ZLIB")
58 (
"swc.client.Rgr.range.res.expiry",
g_i32(1800000),
59 "Range Ranger resolution expiry in ms")
61 (
"swc.client.Mngr.connection.timeout",
g_i32(10000),
62 "Manager client connect timeout")
63 (
"swc.client.Mngr.connection.probes",
g_i16(1),
64 "Manager client connect probes")
65 (
"swc.client.Mngr.connection.keepalive",
g_i32(30000),
66 "Manager client connection keepalive for ms since last action")
68 (
"swc.client.Mngr.comm.encoder",
74 "The encoding to use in communication, options PLAIN/ZSTD/SNAPPY/ZLIB")
76 (
"swc.client.Mngr.range.master.expiry",
g_i32(1800000),
77 "Cached Master Range expiry in ms")
79 (
"swc.client.schema.expiry",
g_i32(1800000),
80 "Schemas expiry in ms")
82 (
"swc.client.send.buffer",
g_i32(8388608),
83 "Client send buffer size in bytes")
84 (
"swc.client.send.ahead",
g_i8(3),
85 "Client send number of buffers ahead")
86 (
"swc.client.send.timeout",
g_i32(800000),
87 "Client send timeout in ms")
88 (
"swc.client.send.timeout.bytes.ratio",
g_i32(1000),
89 "Timeout ratio to bytes, bytes/ratio=ms added to send timeout")
91 (
"swc.client.request.again.delay",
g_i32(500),
92 "Client request again delay size in ms")
94 (
"swc.client.recv.buffer",
g_i32(8388608),
95 "Client receive buffer size in bytes")
96 (
"swc.client.recv.ahead",
g_i8(3),
97 "Client receive number of buffers ahead")
98 (
"swc.client.recv.timeout",
g_i32(800000),
99 "Client receive timeout in ms")
Property::Value_int32_g::Ptr g_i32(const int32_t &v)
Property::Value_strings_g::Ptr g_strs(Strings &&v)
Property::Value_enum_g::Ptr g_enum(const int32_t &v, Property::Value_enum_g::OnChg_t &&cb, Property::Value_enum_g::FromString_t &&from_string, Property::Value_enum_g::Repr_t &&repr)
Core::Vector< std::string > Strings
SWC_CAN_INLINE int from_string_encoding(const std::string &typ) noexcept
ParserConfig cmdline_desc
void init_client_options(Settings *settings)
#define SWC_DEFAULT_COMM_ENCODER
Property::Value_uint16::Ptr i16(const uint16_t &v)
The SWC-DB C++ namespace 'SWC'.
ParserConfig &SWC_CONST_FUNC add_options()
Property::Value_uint16_g::Ptr g_i16(const uint16_t &v)
SWC_CAN_INLINE std::string repr_encoding(int typ)
Property::Value_uint8_g::Ptr g_i8(const uint8_t &v)