comparison Core/JobsEngine/JobsRegistry.h @ 2573:3372c5255333 jobs

StoreScuJob, Orthanc Explorer for jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 May 2018 17:56:14 +0200
parents 2e879c796ec7
children 8da2cffc2378
comparison
equal deleted inserted replaced
2570:2e879c796ec7 2573:3372c5255333
128 int priority); 128 int priority);
129 129
130 bool SubmitAndWait(IJob* job, // Takes ownership 130 bool SubmitAndWait(IJob* job, // Takes ownership
131 int priority); 131 int priority);
132 132
133 void SetPriority(const std::string& id, 133 bool SetPriority(const std::string& id,
134 int priority); 134 int priority);
135 135
136 void Pause(const std::string& id); 136 bool Pause(const std::string& id);
137 137
138 void Resume(const std::string& id); 138 bool Resume(const std::string& id);
139 139
140 void Resubmit(const std::string& id); 140 bool Resubmit(const std::string& id);
141 141
142 void ScheduleRetries(); 142 void ScheduleRetries();
143 143
144 bool GetState(JobState& state, 144 bool GetState(JobState& state,
145 const std::string& id); 145 const std::string& id);