comparison Core/JobsEngine/JobsRegistry.h @ 2667:5fa2f2ce74f0 jobs

serialization of JobsRegistry
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 Jun 2018 15:48:35 +0200
parents e1893d31652a
children eaf10085ffa1
comparison
equal deleted inserted replaced
2666:2540ac79ab6c 2667:5fa2f2ce74f0
110 110
111 void RemovePendingJob(const std::string& id); 111 void RemovePendingJob(const std::string& id);
112 112
113 void RemoveRetryJob(JobHandler* handler); 113 void RemoveRetryJob(JobHandler* handler);
114 114
115 void SubmitInternal(std::string& id,
116 JobHandler* handler);
117
115 public: 118 public:
116 JobsRegistry() : 119 JobsRegistry() :
117 maxCompletedJobs_(10) 120 maxCompletedJobs_(10)
118 { 121 {
119 } 122 }
120 123
124 JobsRegistry(IJobUnserializer& unserializer,
125 const Json::Value& s);
121 126
122 ~JobsRegistry(); 127 ~JobsRegistry();
123 128
124 void SetMaxCompletedJobs(size_t i); 129 void SetMaxCompletedJobs(size_t i);
125 130