A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/netschedule__api__int_8hpp_source.html below:

NCBI C++ ToolKit: include/connect/services/impl/netschedule_api_int.hpp Source File

1 #ifndef CONNECT_SERVICES_IMPL__NETSCHEDULE_API_INT__HPP 2 #define CONNECT_SERVICES_IMPL__NETSCHEDULE_API_INT__HPP 54 int g_ParseNSOutput

(

const string

& attr_string,

const char

*

const

* attr_names,

55  string

* attr_values,

size_t

attr_count);

60  const string

& operator()(

const string

& param)

const

;

82  bool

ReceiveNotification(

string

* server_host =

NULL

);

84  bool

WaitForNotification(

const CDeadline

& deadline,

85  string

* server_host =

NULL

);

87  unsigned short GetPort

()

const

{

return

m_Receiver.port; }

89  const string

&

GetMessage

()

const

{

return

m_Receiver.message; }

91  void

PrintPortNumber();

100  bool

CheckJobStatusNotification(

const string

& job_id,

102  int

* last_event_index =

NULL

);

110  using TJobInfo

= tuple<CNetScheduleAPI::EJobStatus, TLastEventIndex, TProgressMessage>;

113  const string

& job_id,

119  const string

& job_id,

122  int

* last_event_index);

138  const string

& job_key,

143  int

*new_event_index =

NULL

);

147  static string

MkBaseGETCmd(

149  const string

& affinity_list);

150  void

CmdAppendTimeoutGroupAndClientInfo(

string

&

cmd

,

151  const CDeadline

* deadline,

const string

& job_group);

154  const string

&

cmd

);

174  void

AddToClientNode(

const string

&

data

);

175  void

UpdateAuthString();

176  void

UseOldStyleAuth();

184  void

ReSetClientNode(

const string

&);

185  void

ReSetClientSession(

const string

&);

188  static TInstance

CreateWnCompat(

const string

&,

const string

&);

191  static TInstance

CreateNoCfgLoad(

const string

&,

const string

&,

const string

&);

211  const string

& affinity_token =

kEmptyStr

,

222  const string

& qname,

223  const string

& qclass,

224  const string

& description =

kEmptyStr

);

230  void

DeleteQueue(

const string

& qname);

245  void

SwitchToDrainMode(

ESwitch

on_off);

249  void

ShutdownServer(EShutdownLevel level = eNormalShutdown);

255  void

CancelAllJobs(

const string

& job_statuses =

kEmptyStr

);

260  void

ReloadServerConfig();

275  void

GetWorkerNodes(list<SWorkerNodeInfo>& worker_nodes);

286  void

PrintServerStatistics(

CNcbiOstream

& output_stream,

287

EStatisticsOptions opt = eStatisticsBrief);

293  const string

& start_after_job =

kEmptyStr

,

294  size_t

job_count = 0,

295  const string

& job_statuses =

kEmptyStr

,

298  const string

& start_after_job,

305  void

GetQueueInfo(

CNetServer

server,

const string

& queue_name,

308  void

GetQueueInfo(

const string

& queue_name,

TQueueInfo

& queue_info);

313  void

PrintQueueInfo(

const string

& queue_name,

CNcbiOstream

& output_stream);

Pool of recycled CCompoundID objects.

Client API for NCBI NetSchedule server.

map< string, unsigned > TStatusMap

Status map, shows number of jobs in each status.

NCBI_NET_COMPONENT(NetScheduleAdmin)

EShutdownLevel

Shutdown level.

@ eNormalShutdown

Normal shutdown was requested.

@ eDie

A serious error occurred, the server shuts down.

@ eShutdownImmediate

Urgent shutdown was requested.

list< SServerQueueList > TQueueList

map< string, string > TQueueInfo

unsigned short GetPort() const

tuple< CNetScheduleAPI::EJobStatus, TLastEventIndex, TProgressMessage > TJobInfo

SNetScheduleNotificationReceiver m_Receiver

const string & GetMessage() const

CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...

std::ofstream out("events_result.xml")

main entry point for tests

static SQLCHAR output[256]

static const char * str(char *buf, int n)

EJobStatus

Job status codes.

EJobAffinityPreference

Affinity matching modes.

CNetScheduleAPI & operator=(SNetScheduleAPIImpl *impl)

@ eDeleted

The job has been wiped out of the database.

@ eDone

Job is ready (computed successfully)

@ eConfirmed

Final state - read confirmed.

@ eReading

Job has its output been reading.

@ eCanceled

Explicitly canceled.

@ eRunning

Running on a worker node.

@ ePending

Waiting for execution.

@ eReadFailed

Final state - read failed.

@ eFailed

Failed to run (execution timeout)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

IO_PREFIX::ostream CNcbiOstream

Portable alias for ostream.

enum ENcbiSwitch ESwitch

Aux.

#define NCBI_XCONNECT_EXPORT

unsigned int

A callback function used to compare two keys in a database.

NCBI_XCONNECT_EXPORT int g_ParseNSOutput(const string &attr_string, const char *const *attr_names, string *attr_values, size_t attr_count)

string g_GetNetScheduleStatCommand(ENetScheduleStatTopic topic)

string g_UnquoteIfQuoted(const CTempString &str)

CJsonNode g_ServerInfoToJson(CNetServerInfo server_info, bool server_version_key)

@ eNetScheduleStatClients

@ eNetScheduleStatNotifications

@ eNetScheduleStatJobGroups

@ eNetScheduleStatAffinities

@ eNumberOfNetStheduleStatTopics

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

const unsigned int kNetScheduleMaxDBDataSize

CJsonNode g_GetWorkerNodeInfo(CNetScheduleAPI api)

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

CJsonNode g_WorkerNodeInfoToJson(CNetServer worker_node)

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

const unsigned int kNetScheduleMaxDBErrSize

const char *const kNetScheduleAPIDriverName

NCBI_DECLARE_INTERFACE_VERSION(SNetScheduleAPIImpl, "xnetschedule_api", 1, 0, 0)

CNetScheduleAPIExt(TInstance api)

CNetScheduleAPIExt & operator=(TInstance api)

SServerQueueList(SNetServerImpl *server_impl)

bool operator()(string *server_host)

SNetScheduleNotificationReceiver()


RetroSearch 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