#include <XrdSsiScale.hh>

Public Member Functions | |
| int | getEnt () |
| void | retEnt (int xEnt) |
| bool | rsvEnt (int xEnt) |
| void | setSpread (short sval) |
| XrdSsiScale () | |
| ~XrdSsiScale () | |
Static Public Attributes | |
| static const int | maxSprd = 256 |
| static const int | maxEnt = 32 |
| static const int | entShft = 8 |
| static const unsigned int | maxPend = 65500 |
Private Member Functions | |
| int | Spread (int ent) |
Private Attributes | |
| XrdSysMutex | entMutex |
| uint16_t | pendCnt [maxEnt] |
| int | nowEnt |
| short | maxSpread |
| short | nowSpread |
| XrdSsiScale::~XrdSsiScale | ( | ) | [inline] |
| int XrdSsiScale::getEnt | ( | ) | [inline] |
References entMutex, entShft, XrdSysMutex::Lock(), maxEnt, maxPend, maxSpread, nowEnt, pendCnt, Spread(), and XrdSysMutex::UnLock().
| void XrdSsiScale::retEnt | ( | int | xEnt | ) | [inline] |
References entMutex, entShft, XrdSysMutex::Lock(), maxEnt, pendCnt, and XrdSysMutex::UnLock().
| bool XrdSsiScale::rsvEnt | ( | int | xEnt | ) | [inline] |
References entMutex, entShft, XrdSysMutex::Lock(), maxEnt, maxPend, nowEnt, pendCnt, and XrdSysMutex::UnLock().
| int XrdSsiScale::Spread | ( | int | ent | ) | [inline, private] |
XrdSysMutex XrdSsiScale::entMutex [private] |
const int XrdSsiScale::entShft = 8 [static] |
const int XrdSsiScale::maxEnt = 32 [static] |
Referenced by getEnt(), retEnt(), rsvEnt(), and XrdSsiScale().
const unsigned int XrdSsiScale::maxPend = 65500 [static] |
const int XrdSsiScale::maxSprd = 256 [static] |
Referenced by setSpread().
short XrdSsiScale::maxSpread [private] |
Referenced by getEnt(), setSpread(), and Spread().
int XrdSsiScale::nowEnt [private] |
short XrdSsiScale::nowSpread [private] |
Referenced by Spread().
uint16_t XrdSsiScale::pendCnt[maxEnt] [private] |
Referenced by getEnt(), retEnt(), rsvEnt(), and XrdSsiScale().
1.6.1