NCBI C++ ToolKit
Classes | Typedefs | Functions
netservice_params.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbireg.hpp>
#include <corelib/env_reg.hpp>
#include "netservice_params.hpp"
#include <mutex>
#include <unordered_map>
+ Include dependency graph for netservice_params.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SParamReporter< TParam >
 
struct  SListReporter< TParams >
 
class  CSynRegistry::CReport
 
class  CSynRegistry::CInclude
 
class  CSynRegistry::CAlert
 

Typedefs

using TValues = map< string, map< string, string > >
 

Functions

 NCBI_PARAM_DEF (bool, netservice_api, use_linger2, false)
 
 NCBI_PARAM_DEF (unsigned int, netservice_api, connection_max_retries, 4)
 
 NCBI_PARAM_DEF (double, netservice_api, retry_delay, 1.0)
 
 NCBI_PARAM_DEF (int, netservice_api, max_find_lbname_retries, 3)
 
 NCBI_PARAM_DEF (string, netcache_api, fallback_server, "")
 
 NCBI_PARAM_DEF (int, netservice_api, max_connection_pool_size, 0)
 
 NCBI_PARAM_DEF (bool, netservice_api, connection_data_logging, false)
 
 NCBI_PARAM_DEF (bool, netservice_api, error_on_unexpected_reply, false)
 
 NCBI_PARAM_DEF (bool, netservice_api, warn_on_unexpected_reply, false)
 
 NCBI_PARAM_DEF (unsigned, server, max_wait_for_servers, 24 *60 *60)
 
 NCBI_PARAM_DEF (bool, server, stop_on_job_errors, true)
 
 NCBI_PARAM_DEF (bool, server, allow_implicit_job_return, false)
 
template<typename TType >
static string s_ToString (TType value)
 
string s_ToString (string value)
 
template<class TDescription >
TValuesoperator<< (TValues &vs, SParamReporter< CParam< TDescription >>)
 
template<class TFirst , class TSecond , class... TOther>
TValuesoperator<< (TValues &vs, SListReporter< TFirst, TSecond, TOther... >)
 
template<class TParam >
TValuesoperator<< (TValues &vs, SListReporter< TParam >)
 
CSynRegistry::TPtr s_CreateISynRegistry (const CNcbiApplication *app)
 
CSynRegistry::TPtr s_CreateISynRegistry ()
 

Typedef Documentation

◆ TValues

Definition at line 150 of file netservice_params.cpp.

Function Documentation

◆ NCBI_PARAM_DEF() [1/12]

NCBI_PARAM_DEF ( bool  ,
netservice_api  ,
connection_data_logging  ,
false   
)

◆ NCBI_PARAM_DEF() [2/12]

NCBI_PARAM_DEF ( bool  ,
netservice_api  ,
error_on_unexpected_reply  ,
false   
)

◆ NCBI_PARAM_DEF() [3/12]

NCBI_PARAM_DEF ( bool  ,
netservice_api  ,
use_linger2  ,
false   
)

◆ NCBI_PARAM_DEF() [4/12]

NCBI_PARAM_DEF ( bool  ,
netservice_api  ,
warn_on_unexpected_reply  ,
false   
)

◆ NCBI_PARAM_DEF() [5/12]

NCBI_PARAM_DEF ( bool  ,
server  ,
allow_implicit_job_return  ,
false   
)

◆ NCBI_PARAM_DEF() [6/12]

NCBI_PARAM_DEF ( bool  ,
server  ,
stop_on_job_errors  ,
true   
)

◆ NCBI_PARAM_DEF() [7/12]

NCBI_PARAM_DEF ( double  ,
netservice_api  ,
retry_delay  ,
1.  0 
)

◆ NCBI_PARAM_DEF() [8/12]

NCBI_PARAM_DEF ( int  ,
netservice_api  ,
max_connection_pool_size  ,
 
)

◆ NCBI_PARAM_DEF() [9/12]

NCBI_PARAM_DEF ( int  ,
netservice_api  ,
max_find_lbname_retries  ,
 
)

◆ NCBI_PARAM_DEF() [10/12]

NCBI_PARAM_DEF ( string  ,
netcache_api  ,
fallback_server  ,
""   
)

◆ NCBI_PARAM_DEF() [11/12]

NCBI_PARAM_DEF ( unsigned int  ,
netservice_api  ,
connection_max_retries  ,
 
)

◆ NCBI_PARAM_DEF() [12/12]

NCBI_PARAM_DEF ( unsigned  ,
server  ,
max_wait_for_servers  ,
24 *60 *  60 
)

◆ operator<<() [1/3]

template<class TFirst , class TSecond , class... TOther>
TValues& operator<< ( TValues vs,
SListReporter< TFirst, TSecond, TOther... >   
)

Definition at line 175 of file netservice_params.cpp.

◆ operator<<() [2/3]

template<class TParam >
TValues& operator<< ( TValues vs,
SListReporter< TParam >   
)

Definition at line 181 of file netservice_params.cpp.

◆ operator<<() [3/3]

template<class TDescription >
TValues& operator<< ( TValues vs,
SParamReporter< CParam< TDescription >>   
)

◆ s_CreateISynRegistry() [1/2]

CSynRegistry::TPtr s_CreateISynRegistry ( )

◆ s_CreateISynRegistry() [2/2]

CSynRegistry::TPtr s_CreateISynRegistry ( const CNcbiApplication app)

Definition at line 404 of file netservice_params.cpp.

References CNcbiApplicationAPI::GetConfig(), and registry.

Referenced by s_CreateISynRegistry().

◆ s_ToString() [1/2]

string s_ToString ( string  value)

Definition at line 145 of file netservice_params.cpp.

References rapidjson::value.

◆ s_ToString() [2/2]

template<typename TType >
static string s_ToString ( TType  value)
static

Definition at line 140 of file netservice_params.cpp.

References rapidjson::value.

Referenced by CSynRegistry::CReport::Add(), and operator<<().

Modified on Sat May 25 14:19:09 2024 by modify_doxy.py rev. 669887