NCBI C++ ToolKit
Classes | Enumerations | Functions | Variables
netschedule_api_int.hpp File Reference
#include <util/ncbi_url.hpp>
#include <tuple>
+ Include dependency graph for netschedule_api_int.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SNetScheduleOutputParser
 
struct  SNetScheduleNotificationReceiver
 
class  CNetScheduleNotificationHandler
 
struct  CNetScheduleAPIExt
 
class  CNetScheduleAdmin
 
struct  CNetScheduleAdmin::SWorkerNodeInfo
 
struct  CNetScheduleAdmin::SServerQueueList
 

Enumerations

enum  ENetScheduleStatTopic {
  eNetScheduleStatJobGroups , eNetScheduleStatClients , eNetScheduleStatNotifications , eNetScheduleStatAffinities ,
  eNumberOfNetStheduleStatTopics
}
 

Functions

 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)
 

Variables

const unsigned int kNetScheduleMaxDBDataSize = 2048
 
const unsigned int kNetScheduleMaxDBErrSize = 4096
 
const char *const kNetScheduleAPIDriverName
 

Enumeration Type Documentation

◆ ENetScheduleStatTopic

Enumerator
eNetScheduleStatJobGroups 
eNetScheduleStatClients 
eNetScheduleStatNotifications 
eNetScheduleStatAffinities 
eNumberOfNetStheduleStatTopics 

Definition at line 327 of file netschedule_api_int.hpp.

Function Documentation

◆ g_FixMisplacedPID()

bool g_FixMisplacedPID ( CJsonNode stat_info,
CTempString executable_path,
const char *  pid_key 
)

◆ g_GenericStatToJson()

CJsonNode g_GenericStatToJson ( CNetServer  server,
ENetScheduleStatTopic  topic,
bool  verbose 
)

◆ g_GetNetScheduleStatCommand()

string g_GetNetScheduleStatCommand ( ENetScheduleStatTopic  topic)

◆ g_GetWorkerNodeInfo()

CJsonNode g_GetWorkerNodeInfo ( CNetScheduleAPI  api)

◆ g_ParseNSOutput()

NCBI_XCONNECT_EXPORT int g_ParseNSOutput ( const string attr_string,
const char *const attr_names,
string attr_values,
size_t  attr_count 
)
Deprecated:
, use SNetScheduleOutputParser instead

Definition at line 129 of file netschedule_api.cpp.

References CUrlArgs::FindFirst(), and CUrlArgs::GetArgs().

◆ g_ServerInfoToJson()

CJsonNode g_ServerInfoToJson ( CNetServerInfo  server_info,
bool  server_version_key 
)

◆ g_UnquoteIfQuoted()

string g_UnquoteIfQuoted ( const CTempString str)

Definition at line 134 of file netschedule_api_wn_info.cpp.

References NStr::ParseQuoted(), and str().

Referenced by g_GenericStatToJson(), and CJobInfoToJSON::ProcessJobMeta().

◆ g_WorkerNodeInfoToJson()

CJsonNode g_WorkerNodeInfoToJson ( CNetServer  worker_node)

◆ NCBI_DECLARE_INTERFACE_VERSION()

NCBI_DECLARE_INTERFACE_VERSION ( SNetScheduleAPIImpl  ,
"xnetschedule_api"  ,
,
,
 
)

◆ NCBI_EntryPoint_xnetscheduleapi()

void NCBI_EntryPoint_xnetscheduleapi ( CPluginManager< SNetScheduleAPIImpl >::TDriverInfoList &  info_list,
CPluginManager< SNetScheduleAPIImpl >::EEntryPointRequest  method 
)

Variable Documentation

◆ kNetScheduleAPIDriverName

const char* const kNetScheduleAPIDriverName
extern

◆ kNetScheduleMaxDBDataSize

const unsigned int kNetScheduleMaxDBDataSize = 2048

◆ kNetScheduleMaxDBErrSize

const unsigned int kNetScheduleMaxDBErrSize = 4096
Modified on Fri Sep 20 14:58:32 2024 by modify_doxy.py rev. 669887