SequoiaDB
|
C++ sdb connection pool configure. More...
Go to the source code of this file.
Classes | |
class | sdbclient::sdbConnectionPoolConf |
The configure of sdb connection pool. More... | |
Namespaces | |
namespace | sdbclient |
SequoiaDB Driver for C++. | |
Macros | |
#define | SDB_CONNPOOL_TOPRECREATE_THRESHOLD 2 |
#define | SDB_CONNPOOL_CHECKUNNORMALCOORD_INTERVAL (60 * 1000) |
#define | SDB_CONNPOOL_CREATECONN_RETRYTIME 3 |
Enumerations | |
enum | sdbclient::SDB_CONN_STRATEGY { sdbclient::SDB_CONN_STY_SERIAL, sdbclient::SDB_CONN_STY_RANDOM, sdbclient::SDB_CONN_STY_LOCAL, sdbclient::SDB_CONN_STY_BALANCE } |
C++ sdb connection pool configure.
#define SDB_CONNPOOL_CHECKUNNORMALCOORD_INTERVAL (60 * 1000) |
check unnormal coord interval, default:60 * 1000ms
#define SDB_CONNPOOL_CREATECONN_RETRYTIME 3 |
create connection retry time at a coord, default:3
#define SDB_CONNPOOL_TOPRECREATE_THRESHOLD 2 |
to previous create threshold