Mercurial > hg > orthanc
comparison Core/JobsEngine/JobsRegistry.h @ 3179:fca730c267d7
New primitives to set and refresh metrics
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Jan 2019 17:12:15 +0100 |
parents | 053e72ff9fc5 |
children | e44e0127e553 |
comparison
equal
deleted
inserted
replaced
3178:6d558598d713 | 3179:fca730c267d7 |
---|---|
199 | 199 |
200 void ResetObserver(); | 200 void ResetObserver(); |
201 | 201 |
202 void GetStatistics(unsigned int& pending, | 202 void GetStatistics(unsigned int& pending, |
203 unsigned int& running, | 203 unsigned int& running, |
204 unsigned int& completed); | 204 unsigned int& success, |
205 unsigned int& errors); | |
205 | 206 |
206 class RunningJob : public boost::noncopyable | 207 class RunningJob : public boost::noncopyable |
207 { | 208 { |
208 private: | 209 private: |
209 JobsRegistry& registry_; | 210 JobsRegistry& registry_; |