NCBI C++ ToolKit
Functions | Variables
job.cpp File Reference
#include <ncbi_pch.hpp>
#include <string.h>
#include <connect/services/netschedule_api_expt.hpp>
#include "job.hpp"
#include "ns_queue.hpp"
#include "ns_handler.hpp"
#include "ns_command_arguments.hpp"
#include "ns_affinity.hpp"
#include "ns_group.hpp"
#include "ns_db_dump.hpp"
+ Include dependency graph for job.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

CNSPreciseTime GetJobExpirationTime (const CNSPreciseTime &last_touch, TJobStatus status, const CNSPreciseTime &job_submit_time, const CNSPreciseTime &job_timeout, const CNSPreciseTime &job_run_timeout, const CNSPreciseTime &job_read_timeout, const CNSPreciseTime &queue_timeout, const CNSPreciseTime &queue_run_timeout, const CNSPreciseTime &queue_read_timeout, const CNSPreciseTime &queue_pending_timeout, const CNSPreciseTime &event_time)
 

Variables

static string s_EventAsString []
 

Function Documentation

◆ GetJobExpirationTime()

CNSPreciseTime GetJobExpirationTime ( const CNSPreciseTime last_touch,
TJobStatus  status,
const CNSPreciseTime job_submit_time,
const CNSPreciseTime job_timeout,
const CNSPreciseTime job_run_timeout,
const CNSPreciseTime job_read_timeout,
const CNSPreciseTime queue_timeout,
const CNSPreciseTime queue_run_timeout,
const CNSPreciseTime queue_read_timeout,
const CNSPreciseTime queue_pending_timeout,
const CNSPreciseTime event_time 
)

Variable Documentation

◆ s_EventAsString

string s_EventAsString[]
static
Initial value:
= {
"Submit",
"BatchSubmit",
"Request",
"Done",
"Return",
"Fail",
"FinalFail",
"Read",
"ReadFail",
"ReadFinalFail",
"ReadDone",
"ReadRollback",
"Clear",
"Cancel",
"Timeout",
"ReadTimeout",
"SessionChanged",
"NSSubmitRollback",
"NSGetRollback",
"NSReadRollback",
"ReturnNoBlacklist",
"Reschedule",
"Redo",
"Reread"
}

Definition at line 54 of file job.cpp.

Referenced by CJobEvent::EventToString().

Modified on Sat Apr 20 12:19:07 2024 by modify_doxy.py rev. 669887