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
8ebc3e02
Commit
8ebc3e02
authored
Apr 04, 2014
by
David COME
Browse files
Changed DiskWriteTaskInterface::execute's interface
parent
640b073b
Changes
2
Hide whitespace changes
Inline
Side-by-side
castor/tape/tapeserver/daemon/DiskWriteTask.hpp
View file @
8ebc3e02
...
...
@@ -68,7 +68,9 @@ public:
/**
* Main routine: takes each memory block in the fifo and writes it to disk
*/
virtual
void
execute
()
{
virtual
void
execute
(
RecallReportPacker
&
reporter
,
log
::
LogContext
&
lc
)
{
using
log
::
LogContext
;
using
log
::
Param
;
try
{
tape
::
diskFile
::
WriteFile
writer
(
m_path
);
int
blockId
=
0
;
...
...
castor/tape/tapeserver/daemon/DiskWriteTaskInterface.hpp
View file @
8ebc3e02
...
...
@@ -26,11 +26,17 @@
#include
"castor/tape/tapeserver/daemon/Exception.hpp"
namespace
castor
{
namespace
log
{
class
LogContext
;
}
namespace
tape
{
namespace
tapeserver
{
namespace
daemon
{
class
RecallReportPacker
;
/**
* Abstract class describing the interface for a task that wants to write to disk.
* This is inherited exclusively by DiskWriteFileTask.
...
...
@@ -51,7 +57,7 @@ public:
/**
* Main routine of the task
*/
virtual
void
execute
()
=
0
;
virtual
void
execute
(
RecallReportPacker
&
reporter
,
log
::
LogContext
&
lc
)
=
0
;
/**
* Wait for the end of the task
...
...
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