![]() |
XRootD
|
#include <XrdSsiScale.hh>
Public Member Functions | |
XrdSsiScale () | |
~XrdSsiScale () | |
int | getEnt () |
void | retEnt (int xEnt) |
bool | rsvEnt (int xEnt) |
void | setSpread (short sval) |
Static Public Attributes | |
static const uint16_t | defSprd = 4 |
static const uint16_t | maxPend = 64000 |
static const uint16_t | maxSprd = 1024 |
static const uint16_t | maxTune = 128 |
static const uint16_t | midTune = 64 |
static const uint16_t | minTune = 3 |
static const uint16_t | zipTune = 512 |
Definition at line 37 of file XrdSsiScale.hh.
|
inline |
Definition at line 57 of file XrdSsiScale.hh.
References maxSprd.
|
inline |
Definition at line 61 of file XrdSsiScale.hh.
int XrdSsiScale::getEnt | ( | ) |
Definition at line 50 of file XrdSsiScale.cc.
References XrdSysError::Emsg(), XrdSysMutex::Lock(), XrdSsi::Log, maxPend, and XrdSysMutex::UnLock().
Referenced by XrdSsiServReal::ProcessRequest().
void XrdSsiScale::retEnt | ( | int | xEnt | ) |
Definition at line 95 of file XrdSsiScale.cc.
References XrdSysMutex::Lock(), maxSprd, and XrdSysMutex::UnLock().
Referenced by XrdSsiServReal::ProcessRequest(), XrdSsiSessReal::Provision(), and XrdSsiSessReal::TaskFinished().
bool XrdSsiScale::rsvEnt | ( | int | xEnt | ) |
Definition at line 154 of file XrdSsiScale.cc.
References XrdSysMutex::Lock(), maxPend, maxSprd, and XrdSysMutex::UnLock().
void XrdSsiScale::setSpread | ( | short | sval | ) |
Definition at line 175 of file XrdSsiScale.cc.
References XrdSysMutex::Lock(), maxSprd, and XrdSysMutex::UnLock().
Referenced by XrdSsiClientProvider::SetSpread().
|
static |
Definition at line 41 of file XrdSsiScale.hh.
|
static |
Definition at line 43 of file XrdSsiScale.hh.
|
static |
Definition at line 42 of file XrdSsiScale.hh.
Referenced by XrdSsiScale(), retEnt(), rsvEnt(), and setSpread().
|
static |
Definition at line 46 of file XrdSsiScale.hh.
|
static |
Definition at line 45 of file XrdSsiScale.hh.
|
static |
Definition at line 44 of file XrdSsiScale.hh.
|
static |
Definition at line 47 of file XrdSsiScale.hh.