xrootd
|
#include <XrdOfsHandle.hh>
Public Member Functions | |
void | Add (XrdOfsHandle *hP) |
XrdOfsHandle * | Find (XrdOfsHanKey &Key) |
int | Remove (XrdOfsHandle *rip) |
XrdOfsHanTab (int psize=987, int size=1597) | |
~XrdOfsHanTab () | |
Private Member Functions | |
void | Expand () |
Private Attributes | |
XrdOfsHandle ** | nashtable |
int | prevtablesize |
int | nashtablesize |
int | nashnum |
int | Threshold |
Static Private Attributes | |
static const int | LoadMax = 80 |
XrdOfsHanTab::XrdOfsHanTab | ( | int | psize = 987 , |
int | size = 1597 |
||
) |
References LoadMax, nashnum, nashtable, nashtablesize, prevtablesize, and Threshold.
XrdOfsHanTab::~XrdOfsHanTab | ( | ) | [inline] |
void XrdOfsHanTab::Add | ( | XrdOfsHandle * | hP | ) |
References Expand(), XrdOfsHanKey::Hash, nashnum, nashtable, nashtablesize, XrdOfsHandle::Next, XrdOfsHandle::Path, and Threshold.
Referenced by XrdOfsHandle::Alloc().
void XrdOfsHanTab::Expand | ( | ) | [private] |
References XrdOfsHanKey::Hash, LoadMax, nashtable, nashtablesize, XrdOfsHandle::Next, XrdOfsHandle::Path, prevtablesize, and Threshold.
Referenced by Add().
XrdOfsHandle * XrdOfsHanTab::Find | ( | XrdOfsHanKey & | Key | ) |
References XrdOfsHanKey::Hash, nashtable, nashtablesize, XrdOfsHandle::Next, and XrdOfsHandle::Path.
Referenced by XrdOfsHandle::Alloc(), and XrdOfsHandle::Hide().
int XrdOfsHanTab::Remove | ( | XrdOfsHandle * | rip | ) |
References XrdOfsHanKey::Hash, nashnum, nashtable, nashtablesize, XrdOfsHandle::Next, and XrdOfsHandle::Path.
Referenced by XrdOfsHandle::Retire().
const int XrdOfsHanTab::LoadMax = 80 [static, private] |
Referenced by Expand(), and XrdOfsHanTab().
int XrdOfsHanTab::nashnum [private] |
Referenced by Add(), Remove(), and XrdOfsHanTab().
XrdOfsHandle** XrdOfsHanTab::nashtable [private] |
Referenced by Add(), Expand(), Find(), Remove(), and XrdOfsHanTab().
int XrdOfsHanTab::nashtablesize [private] |
Referenced by Add(), Expand(), Find(), Remove(), and XrdOfsHanTab().
int XrdOfsHanTab::prevtablesize [private] |
Referenced by Expand(), and XrdOfsHanTab().
int XrdOfsHanTab::Threshold [private] |
Referenced by Add(), Expand(), and XrdOfsHanTab().