Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
9cdaf1da
Commit
9cdaf1da
authored
9 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added the MiddleTierUser method signatures to the SchedulerDatabase interface class.
parent
3cf56847
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scheduler/SchedulerDatabase.hpp
+105
-0
105 additions, 0 deletions
scheduler/SchedulerDatabase.hpp
with
105 additions
and
0 deletions
scheduler/SchedulerDatabase.hpp
+
105
−
0
View file @
9cdaf1da
...
...
@@ -19,6 +19,7 @@
#pragma once
#include
<list>
#include
<map>
#include
<stdint.h>
#include
<string>
...
...
@@ -29,8 +30,13 @@ class AdminHost;
class
AdminUser
;
class
ArchivalJob
;
class
ArchivalRoute
;
class
ArchiveToDirRequest
;
class
ArchiveToFileRequest
;
class
DirIterator
;
class
LogicalLibrary
;
class
RetrievalJob
;
class
RetrieveToDirRequest
;
class
RetrieveToFileRequest
;
class
SecurityIdentity
;
class
StorageClass
;
class
Tape
;
...
...
@@ -49,6 +55,105 @@ public:
*/
virtual
~
SchedulerDatabase
()
throw
()
=
0
;
/**
* Queues the specified request.
*
* @param rqst The request to be queued.
*/
virtual
void
queue
(
const
ArchiveToDirRequest
&
rqst
)
=
0
;
/**
* Queues the specified request.
*
* @param rqst The request to be queued.
*/
virtual
void
queue
(
const
ArchiveToFileRequest
&
rqst
)
=
0
;
/**
* Returns all of the existing archival jobs grouped by tape pool and then
* sorted by creation time in ascending order (oldest first).
*
* @param requester The identity of the user requesting the list.
* @return All of the existing archival jobs grouped by tape pool and then
* sorted by creation time in ascending order (oldest first).
*/
virtual
std
::
map
<
TapePool
,
std
::
list
<
ArchivalJob
>
>
getArchivalJobs
(
const
SecurityIdentity
&
requester
)
const
=
0
;
/**
* Returns the list of archival jobs associated with the specified tape pool
* sorted by creation time in ascending order (oldest first).
*
* @param requester The identity of the user requesting the list.
* @param tapePoolName The name of the tape pool.
* @return The list of archival jobs associated with the specified tape pool
* sorted by creation time in ascending order (oldest first).
*/
virtual
std
::
list
<
ArchivalJob
>
getArchivalJobs
(
const
SecurityIdentity
&
requester
,
const
std
::
string
&
tapePoolName
)
const
=
0
;
/**
* Deletes the specified archival job.
*
* @param requester The identity of the user requesting the deletion of the
* tape.
* @param dstPath The absolute path of the destination file within the
* archive namespace.
*/
virtual
void
deleteArchivalJob
(
const
SecurityIdentity
&
requester
,
const
std
::
string
&
dstPath
)
=
0
;
/**
* Queues the specified request.
*
* @param rqst The request to be queued.
*/
virtual
void
queue
(
RetrieveToDirRequest
&
rqst
)
=
0
;
/**
* Queues the specified request.
*
* @param rqst The request to be queued.
*/
virtual
void
queue
(
RetrieveToFileRequest
&
rqst
)
=
0
;
/**
* Returns all of the existing retrieval jobs grouped by tape and then
* sorted by creation time in ascending order (oldest first).
*
* @param requester The identity of the user requesting the list.
* @return All of the existing retrieval jobs grouped by tape and then
* sorted by creation time in ascending order (oldest first).
*/
virtual
std
::
map
<
Tape
,
std
::
list
<
RetrievalJob
>
>
getRetrievalJobs
(
const
SecurityIdentity
&
requester
)
const
=
0
;
/**
* Returns the list of retrieval jobs associated with the specified tape
* sorted by creation time in ascending order (oldest first).
*
* @param requester The identity of the user requesting the list.
* @param vid The volume identifier of the tape.
* @return The list of retrieval jobs associated with the specified tape
* sorted by creation time in ascending order (oldest first).
*/
virtual
std
::
list
<
RetrievalJob
>
getRetrievalJobs
(
const
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
)
const
=
0
;
/**
* Deletes the specified retrieval job.
*
* @param requester The identity of the user requesting the deletion of the
* tape.
* @param dstUrl The URL of the destination file or directory.
*/
virtual
void
deleteRetrievalJob
(
const
SecurityIdentity
&
requester
,
const
std
::
string
&
dstUrl
)
=
0
;
/**
* Creates the specified administrator.
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment