XRootD
Loading...
Searching...
No Matches
XrdThrottle Namespace Reference

Classes

class  Configuration
class  File
class  FileSystem

Typedefs

typedef std::auto_ptr< XrdSfsFile > unique_sfs_ptr

Functions

XrdSfsFileSystem * XrdSfsGetFileSystem_Internal (XrdSfsFileSystem *native_fs, XrdSysLogger *lp, const char *configfn, XrdOucEnv *envP)

Typedef Documentation

◆ unique_sfs_ptr

typedef std::auto_ptr<XrdSfsFile> XrdThrottle::unique_sfs_ptr

Definition at line 23 of file XrdThrottle.hh.

Function Documentation

◆ XrdSfsGetFileSystem_Internal()

XrdSfsFileSystem * XrdThrottle::XrdSfsGetFileSystem_Internal ( XrdSfsFileSystem * native_fs,
XrdSysLogger * lp,
const char * configfn,
XrdOucEnv * envP )

Definition at line 60 of file XrdThrottleFileSystemConfig.cc.

64{
65 FileSystem* fs = NULL;
66 if (envP && envP->GetInt("XrdOssThrottle") == 1) {
67 XrdSysError eDest(lp, "XrdOssThrottle");
68 eDest.Emsg("Config", "XrdOssThrottle is loaded; not stacking XrdThrottle on OFS. "
69 "This is a warning for backward compatibility; this configuration may generate an "
70 "error in the future.");
71 return native_fs;
72 }
73 FileSystem::Initialize(fs, native_fs, lp, configfn, envP);
74 return fs;
75}
XrdSysError eDest(0, "HttpMon")
long GetInt(const char *varname)
Definition XrdOucEnv.cc:235
int Emsg(const char *esfx, int ecode, const char *text1, const char *text2=0)

Referenced by XrdSfsGetFileSystem(), and XrdSfsGetFileSystem2().

Here is the caller graph for this function: