Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
bb95d377
Commit
bb95d377
authored
Mar 20, 2014
by
David COME
Browse files
Added namespaces
parent
db569b2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
castor/tape/tapeserver/daemon/TapeWriteSingleThread.hpp
View file @
bb95d377
...
...
@@ -34,6 +34,11 @@
#include
<iostream>
#include
<stdio.h>
namespace
castor
{
namespace
tape
{
namespace
tapeserver
{
namespace
daemon
{
class
TapeWriteSingleThread
:
public
TapeSingleThreadInterface
<
TapeWriteTask
>
{
public:
TapeWriteSingleThread
(
castor
::
tape
::
drives
::
DriveInterface
&
drive
,
MigrationReportPacker
&
repPacker
,
...
...
@@ -49,7 +54,7 @@ private:
TapeWriteTask
*
task
=
m_tasks
.
pop
();
bool
end
=
task
->
endOfWork
();
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
();
blocks
+=
task
->
blocks
();
if
(
files
>=
m_filesBeforeFlush
||
...
...
@@ -75,3 +80,4 @@ private:
MigrationReportPacker
&
m_reportPacker
;
};
}}}}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment