SequoiaDB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Namespaces | Macros | Enumerations
sdbConnectionPoolComm.hpp File Reference

C++ sdb connection pool configure. More...

#include "ossTypes.h"
#include <string>
#include "client.hpp"

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 }
 

Detailed Description

C++ sdb connection pool configure.

Macro Definition Documentation

#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