1 #ifndef NETSCHEDULE_SERVER_PARAMS__HPP
2 #define NETSCHEDULE_SERVER_PARAMS__HPP
45 #if defined(_DEBUG) && !defined(NDEBUG)
65 const string & section,
66 const string & param_name);
68 const string & section,
69 const string & param_name);
71 const string & section,
72 const string & param_name);
83 const string & section,
84 const string & param_name);
103 const string & sname,
105 unsigned int default_max,
106 unsigned int default_high_mark_percentage,
107 unsigned int default_low_mark_percentage,
108 unsigned int default_high_removal,
109 unsigned int default_low_removal,
110 unsigned int default_dirt_percentage);
112 const string & prefix,
113 const string & suffix)
const;
117 unsigned int default_high_mark_percentage,
118 unsigned int default_low_mark_percentage,
119 unsigned int default_high_removal,
120 unsigned int default_low_removal,
121 unsigned int default_dirt_percentage);
169 #if defined(_DEBUG) && !defined(NDEBUG)
#define numeric_limits
Pre-declaration of the "numeric_limits<>" template Forcibly overrides (using preprocessor) the origin...
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Process information in the NCBI Registry, including working with configuration files.
Framework to create multithreaded network servers with thread-per-request scheduling.
SErrorEmulatorParameter()
bool IsActive(void) const
void x_ReadCommon(const IRegistry ®, const string §ion, const string ¶m_name)
void ReadInt(const IRegistry ®, const string §ion, const string ¶m_name)
void ReadDouble(const IRegistry ®, const string §ion, const string ¶m_name)
void ReadBool(const IRegistry ®, const string §ion, const string ¶m_name)
string Serialize(const string &name, const string &prefix, const string &suffix) const
void x_CheckGarbageCollectorSettings(unsigned int default_high_mark_percentage, unsigned int default_low_mark_percentage, unsigned int default_high_removal, unsigned int default_low_removal, unsigned int default_dirt_percentage)
unsigned int low_mark_percentage
unsigned int dirt_percentage
unsigned int high_mark_percentage
void Read(const IRegistry ®, const string &sname, const string &name, unsigned int default_max, unsigned int default_high_mark_percentage, unsigned int default_low_mark_percentage, unsigned int default_high_removal, unsigned int default_low_removal, unsigned int default_dirt_percentage)
unsigned int high_removal
SNSRegistryParameters group_reg
void x_CheckJobGarbageCollectorSettings(void)
string state_transition_perf_log_classes
unsigned int del_batch_size
SErrorEmulatorParameter debug_mem_count
string state_transition_perf_log_queues
SErrorEmulatorParameter debug_fd_count
unsigned int stat_interval
unsigned int markdel_batch_size
SErrorEmulatorParameter debug_write_delay
bool log_notification_thread
unsigned int reserve_dump_space
SNSRegistryParameters affinity_reg
void ReadErrorEmulatorSection(const IRegistry ®)
SErrorEmulatorParameter debug_conn_drop_after_write
SErrorEmulatorParameter debug_conn_drop_before_write
unsigned int scan_batch_size
string admin_client_names
SErrorEmulatorParameter debug_reply_with_garbage
unsigned int job_counters_interval
SNSRegistryParameters scope_reg
unsigned int max_client_data
void Read(const IRegistry ®)
bool log_statistics_thread
bool log_execution_watcher_thread