NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <string>
#include <sstream>
#include <vector>
#include <corelib/ncbireg.hpp>
#include <corelib/ncbiargs.hpp>
#include <connect/ncbi_service.hpp>
#include <objtools/pubseq_gateway/impl/cassandra/cass_factory.hpp>
#include <objtools/pubseq_gateway/impl/cassandra/lbsm_resolver.hpp>
#include <objtools/pubseq_gateway/impl/cassandra/IdCassScope.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Variables | |
BEGIN_IDBLOB_SCOPE | USING_NCBI_SCOPE |
const string | kCassConfigSection = "CASSANDRA_DB" |
const unsigned int | kCassConnTimeoutDefault = 30000 |
const unsigned int | kCassConnTimeoutMax = UINT_MAX |
const unsigned int | kCassQueryTimeoutDefault = 5000 |
const unsigned int | kCassQueryTimeoutMax = UINT_MAX |
const loadbalancing_policy_t | kLoadBalancingDefaultPolicy = LB_DCAWARE |
const unsigned int | kNumThreadsIoMin = 1 |
const unsigned int | kNumThreadsIoMax = 32 |
const unsigned int | kNumThreadsIoDefault = 4 |
const unsigned int | kNumConnPerHostMin = 1 |
const unsigned int | kNumConnPerHostMax = 8 |
const unsigned int | kNumConnPerHostDefault = 2 |
const unsigned int | kKeepaliveMax = UINT_MAX |
const unsigned int | kKeepaliveDefault = 0 |
const unsigned int | kCassFallbackWrConsistencyMax = UINT_MAX |
const unsigned int | kCassFallbackWrConsistencyDefault = 0 |
const int | kMaxRetriesDefault = 1 |
< 0 means not configured. More... | |
const map< string, loadbalancing_policy_t > | kPolicyArgMap |
Definition at line 52 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::ReloadConfig().
Definition at line 54 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::ReloadConfig(), and CCassConnectionFactory::x_ValidateArgs().
Definition at line 55 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
Definition at line 68 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::ReloadConfig(), and CCassConnectionFactory::x_ValidateArgs().
Definition at line 67 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
Definition at line 56 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::ReloadConfig(), and CCassConnectionFactory::x_ValidateArgs().
Definition at line 57 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
Definition at line 66 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::ReloadConfig(), and CCassConnectionFactory::x_ValidateArgs().
Definition at line 65 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
const loadbalancing_policy_t kLoadBalancingDefaultPolicy = LB_DCAWARE |
Definition at line 58 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
< 0 means not configured.
Should not be used here 0 means no limit in auto-restart count, 1 means no 2nd start -> no re-starts at all n > 1 means n-1 restart allowed
Definition at line 74 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::ReloadConfig(), and CCassConnectionFactory::x_ValidateArgs().
Definition at line 64 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::ReloadConfig(), and CCassConnectionFactory::x_ValidateArgs().
Definition at line 63 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
Definition at line 62 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
Definition at line 61 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::ReloadConfig(), and CCassConnectionFactory::x_ValidateArgs().
Definition at line 60 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
Definition at line 59 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
const map<string, loadbalancing_policy_t> kPolicyArgMap |
Definition at line 76 of file cass_factory.cpp.
Referenced by CCassConnectionFactory::x_ValidateArgs().
BEGIN_IDBLOB_SCOPE USING_NCBI_SCOPE |
Definition at line 50 of file cass_factory.cpp.