5 #include "XrdClient/XrdClientAdmin.hh"
6 #include "XrdClient/XrdClientUrlSet.hh"
7 #include "XrdClient/XrdClientEnv.hh"
22 EnvPutInt(NAME_READCACHESIZE, 20*1024*1024);
42 XrdClientAdmin admin(fullpath.c_str());
45 XrdOucString str(fullpath.c_str());
46 XrdClientUrlSet
url(str);
47 admin.Prepare(url.GetFile().c_str(), kXR_stage | kXR_noerrs, 0);
56 XrdClientAdmin admin(fullpath.c_str());
57 if (! admin.Connect())
65 XrdOucString str(fullpath.c_str());
66 XrdClientUrlSet
url(str);
68 if (! admin.Stat(url.GetFile().c_str(), id, xrdsize,
flags, modtime))
77 EnvPutInt(
"DebugLevel", level);
CacheHint cacheHint(void) const
std::vector< Variable::Flags > flags
virtual Storage * open(const std::string &proto, const std::string &path, int mode) override
Storage * wrapNonLocalFile(Storage *s, const std::string &proto, const std::string &path, int mode)
static StorageFactory * get(void)
tuple path
else: Piece not in the list, fine.
virtual void stagein(const std::string &proto, const std::string &path) override
ReadHint readHint(void) const
virtual bool check(const std::string &proto, const std::string &path, IOOffset *size=0) override
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual void setDebugLevel(unsigned int level) override
tuple size
Write out results.