Commit bb95d377 authored by David COME's avatar David COME
Browse files

Added namespaces

parent db569b2b
...@@ -34,6 +34,11 @@ ...@@ -34,6 +34,11 @@
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
namespace castor {
namespace tape {
namespace tapeserver {
namespace daemon {
class TapeWriteSingleThread : public TapeSingleThreadInterface<TapeWriteTask> { class TapeWriteSingleThread : public TapeSingleThreadInterface<TapeWriteTask> {
public: public:
TapeWriteSingleThread(castor::tape::drives::DriveInterface & drive, MigrationReportPacker & repPacker, TapeWriteSingleThread(castor::tape::drives::DriveInterface & drive, MigrationReportPacker & repPacker,
...@@ -49,7 +54,7 @@ private: ...@@ -49,7 +54,7 @@ private:
TapeWriteTask * task = m_tasks.pop(); TapeWriteTask * task = m_tasks.pop();
bool end = task->endOfWork(); bool end = task->endOfWork();
if (!end) task->execute(m_drive); if (!end) task->execute(m_drive);
m_reportPacker.reportCompletedJob(MigrationJob(-1, task->fSeq(), -1)); //m_reportPacker.reportCompletedJob(MigrationJob(-1, task->fSeq(), -1));
files+=task->files(); files+=task->files();
blocks+=task->blocks(); blocks+=task->blocks();
if (files >= m_filesBeforeFlush || if (files >= m_filesBeforeFlush ||
...@@ -75,3 +80,4 @@ private: ...@@ -75,3 +80,4 @@ private:
MigrationReportPacker & m_reportPacker; MigrationReportPacker & m_reportPacker;
}; };
}}}}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment