NCBI C++ ToolKit
|
#include <connect/services/netschedule_api.hpp>
#include "ns_types.hpp"
#include "job_status.hpp"
#include "ns_command_arguments.hpp"
#include "ns_precise_time.hpp"
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CJobEvent |
class | CJob |
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) |
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 | ||
) |
Definition at line 101 of file job.cpp.
References CNetScheduleAPI::ePending, CNetScheduleAPI::eReading, CNetScheduleAPI::eRunning, and kTimeZero.
Referenced by CJob::GetExpirationTime(), and CQueue::LoadFromDump().