|
ifw-core
5.0.0-pre2
|
Classes | |
| struct | CliConfig |
| The CliConfig struct. More... | |
| class | Config |
| class | DbInterface |
| class | DbInterfaceRedis |
| class | IConfig |
| class | TaskOldb |
Typedefs | |
| using | DbPair = std::pair< std::string, std::any > |
| using | DbVector = std::vector< DbPair > |
Functions | |
| log4cplus::Logger & | GetRootLogger () |
| log4cplus::Logger & | GetAppLogger () |
Variables | |
| constexpr auto | CONFIG_DEFAULT_PROCNAME = "notset" |
| constexpr auto | CONFIG_DEFAULT_FILENAME = "" |
| constexpr auto | CONFIG_DEFAULT_SCXML_FILENAME = "" |
| constexpr auto | CONFIG_DEFAULT_LOGLEVEL = "ERROR" |
| constexpr auto | CONFIG_DEFAULT_DB_ENDPOINT = "127.0.0.1:6379" |
| constexpr unsigned int | CONFIG_DEFAULT_DB_TIMEOUT = 2000 |
| constexpr auto | CONFIG_DEFAULT_REQ_ENDPOINT = "" |
| constexpr auto | CONFIG_DEFAULT_PUB_ENDPOINT = "" |
| constexpr auto | CONFIG_DEFAULT_OLDB_URI = "cii.oldb:///" |
| constexpr unsigned int | CONFIG_DEFAULT_WAIT_TOUT = 1000 |
| constexpr unsigned int | CONFIG_DEFAULT_CMD_TOUT = 60000 |
| constexpr auto | CONFIG_DB_DELIMITER = "/" |
| constexpr auto | KEY_CONTROL_STATE = "state" |
| constexpr auto | KEY_CONTROL_SUBSTATE = "substate" |
| constexpr auto | KEY_CONTROL_STATUS = "status" |
| constexpr auto | KEY_CONTROL_STATE_STR = "state_str" |
| constexpr auto | KEY_CONTROL_SUBSTATE_STR = "substate_str" |
| constexpr auto | KEY_CONFIG_REQ_ENDPOINT = "req_endpoint" |
| constexpr auto | KEY_CONFIG_PUB_ENDPOINT = "pub_endpoint" |
| constexpr auto | KEY_CONFIG_DB_ENDPOINT = "db_endpoint" |
| constexpr auto | KEY_CONFIG_DB_TIMEOUT = "db_timeout" |
| constexpr auto | KEY_CONFIG_DB_TASK_PERIOD = "db_task_period" |
| constexpr auto | KEY_CONFIG_SM_SCXML = "scxml" |
| constexpr auto | KEY_CONFIG_FILENAME = "filename" |
| constexpr auto | KEY_CONFIG_LOG_LEVEL = "log_level" |
| constexpr auto | KEY_CONFIG_LOG_PROP = "log_properties" |
| constexpr auto | KEY_CONFIG_SERVER_ID = "server_id" |
| constexpr auto | KEY_CONFIG_SERVER = "server" |
| constexpr auto | KEY_CONFIG_WAITTOUT = "mon_timeout" |
| constexpr auto | KEY_CONFIG_CMDTOUT = "req_timeout" |
| constexpr auto | KEY_CONFIG_DICTIONARIES = "dictionaries" |
| constexpr auto | KEY_CONFIG_DB_PREFIX = "oldb_prefix" |
| constexpr auto | KEY_CONFIG_FITS_PREFIX = "fits_prefix" |
| constexpr auto | KEY_CONFIG_VERSION = "version" |
| constexpr auto | KEY_DB_STATES = "states" |
| const std::size_t | REDIS_CONNECTION_POOL_SIZE = 15 |
| const int64_t | REDIS_CONNECTION_POOL_CONN_LIFETIME_MS = 30000 |
| const int64_t | REDIS_WAIT_TIMEOUT_MS = 10000 |
| const int64_t | REDIS_SOCKET_TIMEOUT_MS = 15000 |
| typedef std::pair< std::string, std::any > utils::bat::DbPair |
| typedef std::vector< DbPair > utils::bat::DbVector |
| log4cplus::Logger & utils::bat::GetAppLogger | ( | ) |
| log4cplus::Logger & utils::bat::GetRootLogger | ( | ) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
no default value to force user to specify config filename since it overwrites the command line options.
|
constexpr |
|
constexpr |
|
constexpr |
Default application configuration values.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
| const int64_t utils::bat::REDIS_CONNECTION_POOL_CONN_LIFETIME_MS = 30000 |
redis wait timeout in milliseconds for obtaining a connection from a pool
| const std::size_t utils::bat::REDIS_CONNECTION_POOL_SIZE = 15 |
< redis connection pool size how long is connection in the pool before it is recycled in milliseconds
| const int64_t utils::bat::REDIS_SOCKET_TIMEOUT_MS = 15000 |
| const int64_t utils::bat::REDIS_WAIT_TIMEOUT_MS = 10000 |
timeout for redis commands -> all redis commands should be executed in this time frame, otherwise an exception "Resource temporarily unavailable" will be thrown