26#ifndef XrdThrottle_Config_hh
27#define XrdThrottle_Config_hh
40 : m_env(env), m_log(log)
46 int Configure(
const std::string &config_file);
108 std::string m_fslib{
"libXrdOfs.so"};
110 std::string m_loadshed_hostname;
111 long long m_loadshed_freq{0};
112 long long m_loadshed_port{0};
113 long long m_max_conn{-1};
114 long long m_max_open{-1};
115 long long m_max_wait{30};
116 long long m_throttle_concurrency_limit{-1};
117 long long m_throttle_data_rate{-1};
118 long long m_throttle_iops_rate{-1};
119 long long m_throttle_recompute_interval_ms{1000};
120 int m_trace_levels{0};
long long GetLoadshedPort() const
long long GetThrottleDataRate() const
long long GetMaxWait() const
Configuration(XrdSysError &log, XrdOucEnv *env)
long long GetMaxConn() const
long long GetThrottleConcurrency() const
const std::string & GetLoadshedHost() const
const std::string & GetFileSystemLibrary() const
long long GetMaxOpen() const
long long GetLoadshedFreq() const
long long GetThrottleIOPSRate() const
long long GetThrottleRecomputeIntervalMS() const
int GetTraceLevels() const
int Configure(const std::string &config_file)