XrdSsiScale Class Reference

#include <XrdSsiScale.hh>

Collaboration diagram for XrdSsiScale:
Collaboration graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

XrdSsiScale::XrdSsiScale (  )  [inline]

References maxEnt, and pendCnt.

XrdSsiScale::~XrdSsiScale (  )  [inline]

Member Function Documentation

int XrdSsiScale::getEnt (  )  [inline]
void XrdSsiScale::retEnt ( int  xEnt  )  [inline]
bool XrdSsiScale::rsvEnt ( int  xEnt  )  [inline]
void XrdSsiScale::setSpread ( short  sval  )  [inline]

References maxSprd, and maxSpread.

int XrdSsiScale::Spread ( int  ent  )  [inline, private]

References entMutex, entShft, maxSpread, nowSpread, and XrdSysMutex::UnLock().

Referenced by getEnt().


Member Data Documentation

Referenced by getEnt(), retEnt(), rsvEnt(), and Spread().

const int XrdSsiScale::entShft = 8 [static]

Referenced by getEnt(), retEnt(), rsvEnt(), and Spread().

const int XrdSsiScale::maxEnt = 32 [static]

Referenced by getEnt(), retEnt(), rsvEnt(), and XrdSsiScale().

const unsigned int XrdSsiScale::maxPend = 65500 [static]

Referenced by getEnt(), and rsvEnt().

const int XrdSsiScale::maxSprd = 256 [static]

Referenced by setSpread().

short XrdSsiScale::maxSpread [private]

Referenced by getEnt(), setSpread(), and Spread().

int XrdSsiScale::nowEnt [private]

Referenced by getEnt(), and rsvEnt().

short XrdSsiScale::nowSpread [private]

Referenced by Spread().

uint16_t XrdSsiScale::pendCnt[maxEnt] [private]

Referenced by getEnt(), retEnt(), rsvEnt(), and XrdSsiScale().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 2 Oct 2019 for xrootd by  doxygen 1.6.1