27#include <XrdCl/XrdClFileSystem.hh>
60 Info(
"IsStaged",
"path %s cannot be stat'ed", path);
66 Info(
"IsStaged",
"path '%s' is offline", path);
98 Error(
"LocateCollection",
"No input collection given");
118 Info(
"LocateCollection",
"Not found: %s",
startUrl.Data());
133 Info(
"LocateCollection",
"Found: %s --> %s",
startUrl.Data(),
187 if (
token.Contains(
"priority=")) {
188 token.ReplaceAll(
"priority=",
"");
189 if (
token.IsDigit()) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Bool_t R_ISOFF(Int_t mode)
Collection abstract base class.
Class that contains a list of TFileInfo's and accumulated meta data information about its entries.
Class describing a generic file including meta information.
Bool_t Matches(const char *s) override
Returns kTRUE if stager 's' is compatible with current stager.
TNetXNGFileStager(const char *url="")
Constructor.
Int_t LocateCollection(TFileCollection *fc, Bool_t addDummyUrl=kFALSE) override
Bulk locate request for a collection of files.
Bool_t Stage(const char *path, Option_t *opt=nullptr) override
Issue a stage request for a single file.
UChar_t ParseStagePriority(Option_t *opt)
Get a staging priority value from an option string.
virtual ~TNetXNGFileStager()
Destructor.
Bool_t IsStaged(const char *path) override
Check if a file is staged.
Int_t Locate(const char *path, TString &endpath) override
Get actual endpoint URL.
Int_t GetPathInfo(const char *path, FileStat_t &buf) override
Get info about a file (stat)
virtual Int_t Stage(const char *path, UChar_t priority)
Issue a stage request for a single file.
virtual Int_t Locate(const char *path, TString &endurl)
Get the endpoint URL of a file.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.