#include <Config.h>
Public Member Functions | |
ConfigValues () | |
Data Fields | |
int | pageSize |
int | maxProcs |
long | maxSysSize |
long | maxDbSize |
int | sysDbKey |
int | userDbKey |
char | logFile [MAX_FILE_PATH_LEN] |
char | dbFile [MAX_FILE_PATH_LEN] |
long | mapAddr |
int | mutexSecs |
int | mutexUSecs |
int | mutexRetries |
int | lockSecs |
int | lockUSecs |
int | lockRetries |
bool | isCache |
char | dsn [IDENTIFIER_LENGTH] |
char | tableConfigFile [MAX_FILE_PATH_LEN] |
bool | isTwoWay |
int | cacheWaitSecs |
bool | isReplication |
char | replConfigFile [MAX_FILE_PATH_LEN] |
int | networkID |
int | cacheNetworkID |
long | logStoreSize |
int | nwResponseTimeout |
int | nwConnectTimeout |
Definition at line 19 of file Config.h.
ConfigValues::ConfigValues | ( | ) | [inline] |
Definition at line 54 of file Config.h.
References cacheNetworkID, cacheWaitSecs, dbFile, dsn, isCache, isReplication, isTwoWay, lockRetries, lockSecs, lockUSecs, logFile, logStoreSize, mapAddr, maxDbSize, maxProcs, maxSysSize, mutexRetries, mutexSecs, mutexUSecs, networkID, nwConnectTimeout, nwResponseTimeout, pageSize, replConfigFile, sysDbKey, tableConfigFile, and userDbKey.
00055 { 00056 pageSize = 8192; 00057 maxProcs = 20; 00058 maxSysSize = 10485760; 00059 maxDbSize = 104857600; 00060 sysDbKey = 2222; 00061 userDbKey = 5555; 00062 strcpy(logFile, "/tmp/log/log.out"); 00063 strcpy(dbFile, "/tmp/csql/csql.db"); 00064 mapAddr=400000000; 00065 mutexSecs=0; 00066 mutexUSecs=10; 00067 mutexRetries = 10; 00068 lockSecs =0; 00069 lockUSecs = 10; 00070 lockRetries = 10; 00071 isCache = false; 00072 cacheNetworkID =-1; 00073 strcpy(dsn, "myodbc3"); 00074 strcpy(tableConfigFile, "/tmp/csql/csqltable.conf"); 00075 isReplication = false; 00076 strcpy(replConfigFile, "/tmp/csql/csqlnw.conf"); 00077 logStoreSize = 10485760; 00078 networkID=-1; 00079 nwResponseTimeout=3; 00080 nwConnectTimeout=5; 00081 isTwoWay=true; 00082 cacheWaitSecs =10; 00083 }
Definition at line 48 of file Config.h.
Referenced by ConfigValues(), and Config::getCacheNetworkID().
Definition at line 43 of file Config.h.
Referenced by ConfigValues(), and Config::getCacheWaitSecs().
char ConfigValues::dbFile[MAX_FILE_PATH_LEN] |
char ConfigValues::dsn[IDENTIFIER_LENGTH] |
char ConfigValues::logFile[MAX_FILE_PATH_LEN] |
Definition at line 50 of file Config.h.
Referenced by ConfigValues(), and Config::getMaxLogStoreSize().
Definition at line 25 of file Config.h.
Referenced by ConfigValues(), and Config::getMaxSysDbSize().
Definition at line 34 of file Config.h.
Referenced by ConfigValues(), and Config::getMutexRetries().
Definition at line 52 of file Config.h.
Referenced by ConfigValues(), and Config::getNetworkConnectTimeout().
Definition at line 51 of file Config.h.
Referenced by ConfigValues(), and Config::getNetworkResponseTimeout().
char ConfigValues::replConfigFile[MAX_FILE_PATH_LEN] |
Definition at line 46 of file Config.h.
Referenced by ConfigValues(), and Config::getReplConfigFile().
char ConfigValues::tableConfigFile[MAX_FILE_PATH_LEN] |
Definition at line 41 of file Config.h.
Referenced by ConfigValues(), and Config::getTableConfigFile().