NCBI C++ ToolKit
Public Member Functions | Public Attributes | Private Member Functions | List of all members
SNS_Parameters Struct Reference

Search Toolkit Book for SNS_Parameters

#include "ns_server_params.hpp"
(Private to src/app/netschedule.)

+ Inheritance diagram for SNS_Parameters:
+ Collaboration diagram for SNS_Parameters:

Public Member Functions

void Read (const IRegistry &reg)
 
void ReadErrorEmulatorSection (const IRegistry &reg)
 
- Public Member Functions inherited from SServer_Parameters
 SServer_Parameters ()
 Create structure with the default set of parameters. More...
 

Public Attributes

unsigned short port
 
bool use_hostname
 
unsigned network_timeout
 
bool is_log
 
bool log_batch_each_job
 
bool log_notification_thread
 
bool log_cleaning_thread
 
bool log_execution_watcher_thread
 
bool log_statistics_thread
 
unsigned int del_batch_size
 
unsigned int markdel_batch_size
 
unsigned int scan_batch_size
 
double purge_timeout
 
unsigned int stat_interval
 
unsigned int job_counters_interval
 
unsigned int max_client_data
 
string admin_hosts
 
string admin_client_names
 
string state_transition_perf_log_queues
 
string state_transition_perf_log_classes
 
SNSRegistryParameters affinity_reg
 
SNSRegistryParameters group_reg
 
SNSRegistryParameters scope_reg
 
unsigned int reserve_dump_space
 
string path
 
unsigned int max_queues
 
bool diskless
 
SErrorEmulatorParameter debug_fd_count
 
SErrorEmulatorParameter debug_mem_count
 
SErrorEmulatorParameter debug_write_delay
 
SErrorEmulatorParameter debug_conn_drop_before_write
 
SErrorEmulatorParameter debug_conn_drop_after_write
 
SErrorEmulatorParameter debug_reply_with_garbage
 
string debug_garbage
 
- Public Attributes inherited from SServer_Parameters
unsigned int max_connections
 Maximum # of open connections. More...
 
bool temporarily_stop_listening
 Temporarily close listener when queue fills? More...
 
const STimeoutaccept_timeout
 Maximum t between exit checks. More...
 
const STimeoutidle_timeout
 For how long to keep inactive non-listening sockets open (default: 10 minutes) More...
 
unsigned int init_threads
 Number of initial threads. More...
 
unsigned int max_threads
 Maximum simultaneous threads. More...
 
unsigned int spawn_threshold
 Controls when to spawn more threads. More...
 

Private Member Functions

void x_CheckJobGarbageCollectorSettings (void)
 

Detailed Description

Definition at line 127 of file ns_server_params.hpp.

Member Function Documentation

◆ Read()

void SNS_Parameters::Read ( const IRegistry reg)

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().

◆ ReadErrorEmulatorSection()

void SNS_Parameters::ReadErrorEmulatorSection ( const IRegistry reg)

◆ x_CheckJobGarbageCollectorSettings()

void SNS_Parameters::x_CheckJobGarbageCollectorSettings ( void  )
private

Member Data Documentation

◆ admin_client_names

string SNS_Parameters::admin_client_names

Definition at line 153 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ admin_hosts

string SNS_Parameters::admin_hosts

Definition at line 152 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ affinity_reg

SNSRegistryParameters SNS_Parameters::affinity_reg

Definition at line 157 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ debug_conn_drop_after_write

SErrorEmulatorParameter SNS_Parameters::debug_conn_drop_after_write

◆ debug_conn_drop_before_write

SErrorEmulatorParameter SNS_Parameters::debug_conn_drop_before_write

◆ debug_fd_count

SErrorEmulatorParameter SNS_Parameters::debug_fd_count

◆ debug_garbage

string SNS_Parameters::debug_garbage

◆ debug_mem_count

SErrorEmulatorParameter SNS_Parameters::debug_mem_count

◆ debug_reply_with_garbage

SErrorEmulatorParameter SNS_Parameters::debug_reply_with_garbage

◆ debug_write_delay

SErrorEmulatorParameter SNS_Parameters::debug_write_delay

◆ del_batch_size

unsigned int SNS_Parameters::del_batch_size

◆ diskless

bool SNS_Parameters::diskless

Definition at line 165 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleDApp::Run().

◆ group_reg

SNSRegistryParameters SNS_Parameters::group_reg

Definition at line 158 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ is_log

bool SNS_Parameters::is_log

Definition at line 134 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ job_counters_interval

unsigned int SNS_Parameters::job_counters_interval

Definition at line 149 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ log_batch_each_job

bool SNS_Parameters::log_batch_each_job

Definition at line 135 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ log_cleaning_thread

bool SNS_Parameters::log_cleaning_thread

Definition at line 137 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ log_execution_watcher_thread

bool SNS_Parameters::log_execution_watcher_thread

Definition at line 138 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ log_notification_thread

bool SNS_Parameters::log_notification_thread

Definition at line 136 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ log_statistics_thread

bool SNS_Parameters::log_statistics_thread

Definition at line 139 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ markdel_batch_size

unsigned int SNS_Parameters::markdel_batch_size

◆ max_client_data

unsigned int SNS_Parameters::max_client_data

Definition at line 150 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ max_queues

unsigned int SNS_Parameters::max_queues

Definition at line 164 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleDApp::Run().

◆ network_timeout

unsigned SNS_Parameters::network_timeout

Definition at line 132 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ path

string SNS_Parameters::path

Definition at line 163 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleDApp::Run().

◆ port

unsigned short SNS_Parameters::port

Definition at line 129 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ purge_timeout

double SNS_Parameters::purge_timeout

◆ reserve_dump_space

unsigned int SNS_Parameters::reserve_dump_space

Definition at line 161 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ scan_batch_size

unsigned int SNS_Parameters::scan_batch_size

◆ scope_reg

SNSRegistryParameters SNS_Parameters::scope_reg

Definition at line 159 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ stat_interval

unsigned int SNS_Parameters::stat_interval

Definition at line 148 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ state_transition_perf_log_classes

string SNS_Parameters::state_transition_perf_log_classes

Definition at line 155 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ state_transition_perf_log_queues

string SNS_Parameters::state_transition_perf_log_queues

Definition at line 154 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().

◆ use_hostname

bool SNS_Parameters::use_hostname

Definition at line 131 of file ns_server_params.hpp.

Referenced by Read(), and CNetScheduleServer::SetNSParameters().


The documentation for this struct was generated from the following files:
Modified on Fri Sep 20 14:57:34 2024 by modify_doxy.py rev. 669887