Class LeafHostInfo¶
-
class
LeafHostInfo
¶ Public Functions
-
LeafHostInfo
(const std::string &host, const uint16_t port, const NodeRole role)¶
-
const std::string &
getHost
() const¶
-
uint16_t
getPort
() const¶
-
NodeRole
getRole
() const¶
-
unsigned
getConnectTimeout
(unsigned connect_timeout)¶
-
unsigned
getRecvTimeout
(unsigned recv_timeout)¶
-
unsigned
getSendTimeout
()¶
-
std::string &
getSSLCertFile
()¶
Public Static Functions
-
static std::vector<LeafHostInfo>
parseClusterConfig
(const std::string &file_path, const unsigned connect_timeout, const unsigned recv_timeout, const unsigned send_timeout, const std::string &ca_cert)¶
-