Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 3736:0540b54324f1 storage-commitment
StorageCommitmentReports
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Mar 2020 17:43:49 +0100 |
parents | 56f2397f027a |
children | 1a346a4dc1b4 |
comparison
equal
deleted
inserted
replaced
3735:77183afbf55e | 3736:0540b54324f1 |
---|---|
52 class ParsedDicomFile; | 52 class ParsedDicomFile; |
53 class RestApiOutput; | 53 class RestApiOutput; |
54 class SetOfInstancesJob; | 54 class SetOfInstancesJob; |
55 class SharedArchive; | 55 class SharedArchive; |
56 class SharedMessageQueue; | 56 class SharedMessageQueue; |
57 class StorageCommitmentReports; | |
57 | 58 |
58 | 59 |
59 /** | 60 /** |
60 * This class is responsible for maintaining the storage area on the | 61 * This class is responsible for maintaining the storage area on the |
61 * filesystem (including compression), as well as the index of the | 62 * filesystem (including compression), as well as the index of the |
219 | 220 |
220 std::unique_ptr<MetricsRegistry> metricsRegistry_; | 221 std::unique_ptr<MetricsRegistry> metricsRegistry_; |
221 bool isHttpServerSecure_; | 222 bool isHttpServerSecure_; |
222 bool isExecuteLuaEnabled_; | 223 bool isExecuteLuaEnabled_; |
223 | 224 |
225 std::unique_ptr<StorageCommitmentReports> storageCommitmentReports_; | |
226 | |
224 public: | 227 public: |
225 class DicomCacheLocker : public boost::noncopyable | 228 class DicomCacheLocker : public boost::noncopyable |
226 { | 229 { |
227 private: | 230 private: |
228 ServerContext& that_; | 231 ServerContext& that_; |
428 const std::string& transactionUid, | 431 const std::string& transactionUid, |
429 const std::vector<std::string>& sopClassUids, | 432 const std::vector<std::string>& sopClassUids, |
430 const std::vector<std::string>& sopInstanceUids, | 433 const std::vector<std::string>& sopInstanceUids, |
431 const std::string& remoteAet, | 434 const std::string& remoteAet, |
432 const std::string& calledAet) ORTHANC_OVERRIDE; | 435 const std::string& calledAet) ORTHANC_OVERRIDE; |
436 | |
437 StorageCommitmentReports& GetStorageCommitmentReports() | |
438 { | |
439 return *storageCommitmentReports_; | |
440 } | |
433 }; | 441 }; |
434 } | 442 } |