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
c15d09fa
Commit
c15d09fa
authored
Feb 12, 2018
by
Steven Murray
Browse files
Added new ArchiveFileQueueCriteria class that has no fileId attribute
parent
76de9bad
Changes
3
Hide whitespace changes
Inline
Side-by-side
common/CMakeLists.txt
View file @
c15d09fa
...
...
@@ -31,6 +31,7 @@ set (COMMON_LIB_SRC_FILES
dataStructures/AdminHost.cpp
dataStructures/AdminUser.cpp
dataStructures/ArchiveFile.cpp
dataStructures/ArchiveFileQueueCriteria.cpp
dataStructures/ArchiveFileQueueCriteriaAndFileId.cpp
dataStructures/ArchiveFileSummary.cpp
dataStructures/ArchiveJob.cpp
...
...
common/dataStructures/ArchiveFileQueueCriteria.cpp
0 → 100644
View file @
c15d09fa
/*
* The CERN Tape Archive (CTA) project
* Copyright (C) 2015 CERN
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include
"common/dataStructures/ArchiveFileQueueCriteria.hpp"
//------------------------------------------------------------------------------
// constructor
//------------------------------------------------------------------------------
cta
::
common
::
dataStructures
::
ArchiveFileQueueCriteria
::
ArchiveFileQueueCriteria
()
{
}
//------------------------------------------------------------------------------
// constructor
//------------------------------------------------------------------------------
cta
::
common
::
dataStructures
::
ArchiveFileQueueCriteria
::
ArchiveFileQueueCriteria
(
const
TapeCopyToPoolMap
&
copyToPoolMap
,
const
MountPolicy
&
mountPolicy
)
:
copyToPoolMap
(
copyToPoolMap
),
mountPolicy
(
mountPolicy
)
{
}
common/dataStructures/ArchiveFileQueueCriteria.hpp
0 → 100644
View file @
c15d09fa
/*
* The CERN Tape Archive (CTA) project
* Copyright (C) 2015 CERN
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include
"common/dataStructures/MountPolicy.hpp"
#include
"common/dataStructures/TapeCopyToPoolMap.hpp"
#include
<stdint.h>
namespace
cta
{
namespace
common
{
namespace
dataStructures
{
/**
* The queueing criteria created after preparing for a new archive file within
* the Catalogue. This queueing criteria specify on which tape-pool queue(s)
* the corresponding data-transfer jobs are to be queued and which mount policy
* should be used.
*/
struct
ArchiveFileQueueCriteria
{
/**
* Constructor.
*/
ArchiveFileQueueCriteria
();
/**
* Constructor.
*
* @param copyToPoolMap The map from tape copy number to tape pool name.
* @param mountPolicy The mount policy.
*/
ArchiveFileQueueCriteria
(
const
TapeCopyToPoolMap
&
copyToPoolMap
,
const
MountPolicy
&
mountPolicy
);
/**
* The map from tape copy number to tape pool name.
*/
TapeCopyToPoolMap
copyToPoolMap
;
/**
* The mount policy.
*/
MountPolicy
mountPolicy
;
};
// struct ArchiveFileQueueCriteria
}
// namespace dataStructures
}
// namespace common
}
// namespace cta
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