NCBI C++ ToolKit
|
Search Toolkit Book for SNS_Parameters
#include "ns_server_params.hpp"
(Private to src/app/netschedule
.)
Public Member Functions | |
void | Read (const IRegistry ®) |
void | ReadErrorEmulatorSection (const IRegistry ®) |
Public Member Functions inherited from SServer_Parameters | |
SServer_Parameters () | |
Create structure with the default set of parameters. More... | |
Private Member Functions | |
void | x_CheckJobGarbageCollectorSettings (void) |
Definition at line 127 of file ns_server_params.hpp.
Definition at line 152 of file ns_server_params.cpp.
References admin_client_names, admin_hosts, affinity_reg, default_affinity_dirt_percentage, default_affinity_high_mark_percentage, default_affinity_high_removal, default_affinity_low_mark_percentage, default_affinity_low_removal, default_del_batch_size, default_diskless, default_group_dirt_percentage, default_group_high_mark_percentage, default_group_high_removal, default_group_low_mark_percentage, default_group_low_removal, default_init_threads, default_is_log, default_job_counters_interval, default_log_batch_each_job, default_log_cleaning_thread, default_log_execution_watcher_thread, default_log_notification_thread, default_log_statistics_thread, default_markdel_batch_size, default_max_affinities, default_max_client_data, default_max_connections, default_max_groups, default_max_queues, default_max_scopes, default_max_threads, default_network_timeout, default_purge_timeout, default_reserve_dump_space, default_scan_batch_size, default_scope_dirt_percentage, default_scope_high_mark_percentage, default_scope_high_removal, default_scope_low_mark_percentage, default_scope_low_removal, default_stat_interval, default_use_hostname, del_batch_size, diskless, IRegistry::fPlaintextAllowed, GetBoolNoErr, GetDoubleNoErr, IRegistry::GetEncryptedString(), GetIntNoErr, IRegistry::GetString(), group_reg, IRegistry::HasEntry(), SServer_Parameters::init_threads, is_log, job_counters_interval, kEmptyStr, log_batch_each_job, log_cleaning_thread, log_execution_watcher_thread, log_notification_thread, log_statistics_thread, markdel_batch_size, max_client_data, SServer_Parameters::max_connections, max_connections_high_limit, max_connections_low_limit, max_queues, SServer_Parameters::max_threads, NCBI_THROW, network_timeout, NS_GetDataSize(), path, port, purge_timeout, SNSRegistryParameters::Read(), ReadErrorEmulatorSection(), reserve_dump_space, scan_batch_size, scope_reg, stat_interval, state_transition_perf_log_classes, state_transition_perf_log_queues, use_hostname, val, and x_CheckJobGarbageCollectorSettings().
Referenced by CNetScheduleDApp::Run(), and CNetScheduleHandler::x_ProcessReloadConfig().
Definition at line 273 of file ns_server_params.cpp.
References SErrorEmulatorParameter::as_double, SErrorEmulatorParameter::as_int, debug_conn_drop_after_write, debug_conn_drop_before_write, debug_fd_count, debug_garbage, debug_mem_count, debug_reply_with_garbage, debug_write_delay, IRegistry::GetString(), NCBI_THROW, SErrorEmulatorParameter::ReadBool(), SErrorEmulatorParameter::ReadDouble(), SErrorEmulatorParameter::ReadInt(), and SErrorEmulatorParameter::value.
Referenced by Read().
|
private |
Definition at line 304 of file ns_server_params.cpp.
References default_del_batch_size, default_markdel_batch_size, default_purge_timeout, default_scan_batch_size, del_batch_size, markdel_batch_size, purge_timeout, and scan_batch_size.
Referenced by Read().
string SNS_Parameters::admin_client_names |
Definition at line 153 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
string SNS_Parameters::admin_hosts |
Definition at line 152 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
SNSRegistryParameters SNS_Parameters::affinity_reg |
Definition at line 157 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
SErrorEmulatorParameter SNS_Parameters::debug_conn_drop_after_write |
Definition at line 181 of file ns_server_params.hpp.
Referenced by ReadErrorEmulatorSection(), and CNetScheduleServer::SetNSParameters().
SErrorEmulatorParameter SNS_Parameters::debug_conn_drop_before_write |
Definition at line 178 of file ns_server_params.hpp.
Referenced by ReadErrorEmulatorSection(), and CNetScheduleServer::SetNSParameters().
SErrorEmulatorParameter SNS_Parameters::debug_fd_count |
Definition at line 170 of file ns_server_params.hpp.
Referenced by ReadErrorEmulatorSection(), and CNetScheduleServer::SetNSParameters().
string SNS_Parameters::debug_garbage |
Definition at line 185 of file ns_server_params.hpp.
Referenced by ReadErrorEmulatorSection(), and CNetScheduleServer::SetNSParameters().
SErrorEmulatorParameter SNS_Parameters::debug_mem_count |
Definition at line 172 of file ns_server_params.hpp.
Referenced by ReadErrorEmulatorSection(), and CNetScheduleServer::SetNSParameters().
SErrorEmulatorParameter SNS_Parameters::debug_reply_with_garbage |
Definition at line 184 of file ns_server_params.hpp.
Referenced by ReadErrorEmulatorSection(), and CNetScheduleServer::SetNSParameters().
SErrorEmulatorParameter SNS_Parameters::debug_write_delay |
Definition at line 174 of file ns_server_params.hpp.
Referenced by ReadErrorEmulatorSection(), and CNetScheduleServer::SetNSParameters().
unsigned int SNS_Parameters::del_batch_size |
Definition at line 141 of file ns_server_params.hpp.
Referenced by Read(), CNetScheduleServer::SetNSParameters(), and x_CheckJobGarbageCollectorSettings().
bool SNS_Parameters::diskless |
Definition at line 165 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleDApp::Run().
SNSRegistryParameters SNS_Parameters::group_reg |
Definition at line 158 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
bool SNS_Parameters::is_log |
Definition at line 134 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
unsigned int SNS_Parameters::job_counters_interval |
Definition at line 149 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
bool SNS_Parameters::log_batch_each_job |
Definition at line 135 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
bool SNS_Parameters::log_cleaning_thread |
Definition at line 137 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
bool SNS_Parameters::log_execution_watcher_thread |
Definition at line 138 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
bool SNS_Parameters::log_notification_thread |
Definition at line 136 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
bool SNS_Parameters::log_statistics_thread |
Definition at line 139 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
unsigned int SNS_Parameters::markdel_batch_size |
Definition at line 143 of file ns_server_params.hpp.
Referenced by Read(), CNetScheduleServer::SetNSParameters(), and x_CheckJobGarbageCollectorSettings().
unsigned int SNS_Parameters::max_client_data |
Definition at line 150 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
unsigned int SNS_Parameters::max_queues |
Definition at line 164 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleDApp::Run().
unsigned SNS_Parameters::network_timeout |
Definition at line 132 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
string SNS_Parameters::path |
Definition at line 163 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleDApp::Run().
unsigned short SNS_Parameters::port |
Definition at line 129 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
double SNS_Parameters::purge_timeout |
Definition at line 146 of file ns_server_params.hpp.
Referenced by Read(), CNetScheduleServer::SetNSParameters(), and x_CheckJobGarbageCollectorSettings().
unsigned int SNS_Parameters::reserve_dump_space |
Definition at line 161 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
unsigned int SNS_Parameters::scan_batch_size |
Definition at line 144 of file ns_server_params.hpp.
Referenced by Read(), CNetScheduleServer::SetNSParameters(), and x_CheckJobGarbageCollectorSettings().
SNSRegistryParameters SNS_Parameters::scope_reg |
Definition at line 159 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
unsigned int SNS_Parameters::stat_interval |
Definition at line 148 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
string SNS_Parameters::state_transition_perf_log_classes |
Definition at line 155 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
string SNS_Parameters::state_transition_perf_log_queues |
Definition at line 154 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().
bool SNS_Parameters::use_hostname |
Definition at line 131 of file ns_server_params.hpp.
Referenced by Read(), and CNetScheduleServer::SetNSParameters().