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
695a75f7
Commit
695a75f7
authored
8 years ago
by
Daniele Kruse
Browse files
Options
Downloads
Patches
Plain Diff
Added some comments to scheduler functions regarding exceptions that might be thrown
parent
713acef7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scheduler/Scheduler.hpp
+7
-0
7 additions, 0 deletions
scheduler/Scheduler.hpp
with
7 additions
and
0 deletions
scheduler/Scheduler.hpp
+
7
−
0
View file @
695a75f7
...
...
@@ -74,42 +74,49 @@ public:
/**
* Queue an archive request and return the CTA file ID.
* Throws a UserError exception in case of wrong request parameters (ex. no route to tape)
* Throws a (Non)RetryableError exception in case something else goes wrong with the request
*/
virtual
uint64_t
queueArchive
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
cliIdentity
,
const
cta
::
common
::
dataStructures
::
ArchiveRequest
&
request
);
/**
* Queue a retrieve request.
* Throws a UserError exception in case of wrong request parameters (ex. unknown file id)
* Throws a (Non)RetryableError exception in case something else goes wrong with the request
*/
virtual
void
queueRetrieve
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
cliIdentity
,
const
cta
::
common
::
dataStructures
::
RetrieveRequest
&
request
);
/**
* Delete an archived file or a file which is in the process of being archived.
* Throws a UserError exception in case of wrong request parameters (ex. unknown file id)
* Throws a (Non)RetryableError exception in case something else goes wrong with the request
*/
virtual
void
deleteArchive
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
cliIdentity
,
const
cta
::
common
::
dataStructures
::
DeleteArchiveRequest
&
request
);
/**
* Cancel an ongoing retrieval.
* Throws a UserError exception in case of wrong request parameters (ex. file not being retrieved)
* Throws a (Non)RetryableError exception in case something else goes wrong with the request
*/
virtual
void
cancelRetrieve
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
cliIdentity
,
const
cta
::
common
::
dataStructures
::
CancelRetrieveRequest
&
request
);
/**
* Update the file information of an archived file.
* Throws a UserError exception in case of wrong request parameters (ex. unknown file id)
* Throws a (Non)RetryableError exception in case something else goes wrong with the request
*/
virtual
void
updateFileInfo
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
cliIdentity
,
const
cta
::
common
::
dataStructures
::
UpdateFileInfoRequest
&
request
);
/**
* Update the storage class of an archived file.
* Throws a UserError exception in case of wrong request parameters (ex. unknown storage class)
* Throws a (Non)RetryableError exception in case something else goes wrong with the request
*/
virtual
void
updateFileStorageClass
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
cliIdentity
,
const
cta
::
common
::
dataStructures
::
UpdateFileStorageClassRequest
&
request
);
/**
* List the storage classes that a specific user is allowed to use (the ones belonging to the instance from where
* the command was issued)
* Throws a (Non)RetryableError exception in case something else goes wrong with the request
*/
virtual
std
::
list
<
cta
::
common
::
dataStructures
::
StorageClass
>
listStorageClass
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
cliIdentity
,
const
cta
::
common
::
dataStructures
::
ListStorageClassRequest
&
request
);
...
...
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