comparison OrthancServer/ServerContext.h @ 2668:d26dd081df97 jobs

saving jobs engine on exit
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 Jun 2018 18:08:48 +0200
parents 389d050a2e66
children 06c0a6b8a871
comparison
equal deleted inserted replaced
2667:5fa2f2ce74f0 2668:d26dd081df97
102 }; 102 };
103 103
104 typedef std::list<ServerListener> ServerListeners; 104 typedef std::list<ServerListener> ServerListeners;
105 105
106 106
107 static void ChangeThread(ServerContext* that); 107 static void ChangeThread(ServerContext* that,
108 unsigned int sleepDelay);
108 109
109 void ReadDicomAsJsonInternal(std::string& result, 110 void ReadDicomAsJsonInternal(std::string& result,
110 const std::string& instancePublicId); 111 const std::string& instancePublicId);
112
113 void SetupJobsEngine(bool unitTesting);
114
115 void SaveJobsEngine();
111 116
112 ServerIndex index_; 117 ServerIndex index_;
113 IStorageArea& area_; 118 IStorageArea& area_;
114 119
115 bool compressionEnabled_; 120 bool compressionEnabled_;