#include <util/ncbi_url.hpp>
#include <tuple>
Go to the source code of this file.
Go to the SVN repository for this file.
NCBI_DECLARE_INTERFACE_VERSION (SNetScheduleAPIImpl, "xnetschedule_api", 1, 0, 0) NCBI_XCONNECT_EXPORT int g_ParseNSOutput (const string &attr_string, const char *const *attr_names, string *attr_values, size_t attr_count) void NCBI_EntryPoint_xnetscheduleapi (CPluginManager< SNetScheduleAPIImpl >::TDriverInfoList &info_list, CPluginManager< SNetScheduleAPIImpl >::EEntryPointRequest method) CJsonNode g_GetWorkerNodeInfo (CNetScheduleAPI api) string g_UnquoteIfQuoted (const CTempString &str) string g_GetNetScheduleStatCommand (ENetScheduleStatTopic topic) CJsonNode g_GenericStatToJson (CNetServer server, ENetScheduleStatTopic topic, bool verbose) bool g_FixMisplacedPID (CJsonNode &stat_info, CTempString &executable_path, const char *pid_key) CJsonNode g_ServerInfoToJson (CNetServerInfo server_info, bool server_version_key) CJsonNode g_WorkerNodeInfoToJson (CNetServer worker_node) ◆ ENetScheduleStatTopic Enumerator eNetScheduleStatJobGroups eNetScheduleStatClients eNetScheduleStatNotifications eNetScheduleStatAffinities eNumberOfNetStheduleStatTopicsDefinition at line 327 of file netschedule_api_int.hpp.
◆ g_FixMisplacedPID() ◆ g_GenericStatToJson()Definition at line 191 of file netschedule_api_wn_info.cpp.
References CJsonNode::Append(), CJsonNode::AppendString(), command, eNetScheduleStatClients, entity_name, NStr::eTrunc_Begin, CNetServer::ExecWithRetry(), g_AppendClientIPSessionIDHitID(), g_UnquoteIfQuoted(), CJsonNode::GuessType(), ncbi::grid::netcache::search::fields::key, CTempString::length(), CJsonNode::NewArrayNode(), CJsonNode::NewObjectNode(), CJsonNode::NewStringNode(), NormalizeStatKeyName(), NULL, output, record_prefix, s_StatTopics, CJsonNode::SetByKey(), CJsonNode::SetString(), NStr::SplitInTwo(), NStr::StartsWith(), NStr::TruncateSpaces(), NStr::TruncateSpaces_Unsafe(), and rapidjson::value.
Referenced by NAutomation::SNetScheduleServer::ExecAffinityInfo(), NAutomation::SNetScheduleServer::ExecClientInfo(), NAutomation::SNetScheduleServer::ExecJobGroupInfo(), NAutomation::SNetScheduleServer::ExecNotificationInfo(), g_GetWorkerNodes(), and CGridCommandLineInterfaceApp::PrintNetScheduleStats_Generic().
◆ g_GetNetScheduleStatCommand() ◆ g_GetWorkerNodeInfo()Definition at line 85 of file netschedule_api_wn_info.cpp.
References ERR_POST, g_GetWorkerNodes(), g_WorkerNodeInfoToJson(), SNetServiceImpl::GetClientName(), CNetServiceIterator::GetServer(), CNetScheduleAPI::GetService(), CNetService::Iterate(), ITERATE, kEmptyStr, SNetScheduleAPIImpl::m_Service, CJsonNode::NewObjectNode(), NStr::NumericToString(), and result.
◆ g_ParseNSOutput() ◆ g_ServerInfoToJson()Definition at line 250 of file netschedule_api_wn_info.cpp.
References eDefault, NStr::EndsWith(), eOff, eOn, CNetServerInfo::GetNextAttribute(), CJsonNode::NewObjectNode(), NStr::ReplaceInPlace(), CJsonNode::SetString(), and NStr::ToLower().
Referenced by CGridCommandLineInterfaceApp::Cmd_ServerInfo(), NAutomation::SNetService::ExecServerInfo(), NAutomation::SWorkerNode::ExecVersion(), and g_WorkerNodeInfoToJson().
◆ g_UnquoteIfQuoted() ◆ g_WorkerNodeInfoToJson()Definition at line 331 of file netschedule_api_wn_info.cpp.
References CJsonNode::Append(), NStr::eNocase, NStr::eReverseSearch, CNetServer::ExecWithRetry(), NStr::fAllowLeadingSpaces, NStr::fAllowTrailingSymbols, NStr::fConvErr_NoThrow, NStr::Find(), g_FixMisplacedPID(), g_ServerInfoFromString(), g_ServerInfoToJson(), CJsonNode::GetSize(), CJsonNode::GuessType(), CJsonNode::HasKey(), isspace(), kEmptyStr, ncbi::grid::netcache::search::fields::key, CJsonNode::NewArrayNode(), CJsonNode::NewObjectNode(), NPOS, output, s_ExtractKey(), s_WordsToJsonArray(), CJsonNode::SetByKey(), CJsonNode::SetInteger(), CJsonNode::SetString(), NStr::StartsWith(), NStr::StringToInt(), NStr::StringToInt8(), NStr::StringToUInt8(), TEMP_STRING_CTOR, and rapidjson::value.
Referenced by CGridCommandLineInterfaceApp::Cmd_Stats(), NAutomation::SWorkerNode::ExecWnInfo(), and g_GetWorkerNodeInfo().
◆ NCBI_DECLARE_INTERFACE_VERSION() ◆ NCBI_EntryPoint_xnetscheduleapi() ◆ kNetScheduleAPIDriverName ◆ kNetScheduleMaxDBDataSize const unsigned int kNetScheduleMaxDBDataSize = 2048Definition at line 43 of file netschedule_api_int.hpp.
Referenced by SNSCommandArguments::AssignValues(), CJob::LoadFromDump(), SNetScheduleAPIImpl::SServerParamsSync::operator()(), CNetScheduleExecutor::PutProgressMsg(), SAffinityDictDump::Read(), SGroupDictDump::Read(), SJobDump::Read(), SQueueParameters::ReadMaxInputSize(), SQueueParameters::ReadMaxOutputSize(), SNSCommandArguments::x_CheckAffinityList(), and SNSCommandArguments::x_CheckGroupList().
◆ kNetScheduleMaxDBErrSize const unsigned int kNetScheduleMaxDBErrSize = 4096RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4