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

C++ sdb data source configure. More...

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

Go to the source code of this file.

Classes

class  sdbclient::sdbDataSourceConf
 The configure of sdb data source. More...
 

Namespaces

namespace  sdbclient
 SequoiaDB Driver for C++.
 

Macros

#define SDB_DS_TOPRECREATE_THRESHOLD   2
 
#define SDB_DS_CHECKUNNORMALCOORD_INTERVAL   (60 * 1000)
 
#define SDB_DS_CREATECONN_RETRYTIME   3
 

Enumerations

enum  sdbclient::DATASOURCE_STRATEGY { sdbclient::DS_STY_SERIAL, sdbclient::DS_STY_RANDOM, sdbclient::DS_STY_LOCAL, sdbclient::DS_STY_BALANCE }
 

Detailed Description

C++ sdb data source configure.

Macro Definition Documentation

#define SDB_DS_CHECKUNNORMALCOORD_INTERVAL   (60 * 1000)

check unnormal coord interval, default:60 * 1000ms

#define SDB_DS_CREATECONN_RETRYTIME   3

create connection retry time at a coord, default:3

#define SDB_DS_TOPRECREATE_THRESHOLD   2

to previous create threshold