XRootD
XrdThrottle Namespace Reference

Classes

class  Configuration
 
class  File
 
class  FileSystem
 

Typedefs

typedef std::auto_ptr< XrdSfsFileunique_sfs_ptr
 

Functions

XrdSfsFileSystemXrdSfsGetFileSystem_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 58 of file XrdThrottleFileSystemConfig.cc.

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

Referenced by XrdSfsGetFileSystem(), and XrdSfsGetFileSystem2().

+ Here is the caller graph for this function: