|
xrootd
|
#include <XrdCmsNash.hh>

Public Member Functions | |
| XrdCmsKeyItem * | Add (XrdCmsKey &Key) |
| XrdCmsKeyItem * | Find (XrdCmsKey &Key) |
| int | Recycle (XrdCmsKeyItem *rip) |
| XrdCmsNash (int psize=17711, int size=28657) | |
| ~XrdCmsNash () | |
Private Member Functions | |
| void | Expand () |
Private Attributes | |
| XrdCmsKeyItem ** | nashtable |
| int | prevtablesize |
| int | nashtablesize |
| int | nashnum |
| int | Threshold |
Static Private Attributes | |
| static const int | LoadMax = 80 |
| XrdCmsNash::XrdCmsNash | ( | int | psize = 17711, |
| int | size = 28657 |
||
| ) |
References prevtablesize, nashtablesize, Threshold, LoadMax, nashnum, and nashtable.
| XrdCmsNash::~XrdCmsNash | ( | ) | [inline] |
| XrdCmsKeyItem * XrdCmsNash::Add | ( | XrdCmsKey & | Key | ) |
| void XrdCmsNash::Expand | ( | ) | [private] |
References prevtablesize, nashtablesize, nashtable, XrdCmsKeyItem::Next, XrdCmsKeyItem::Key, XrdCmsKey::Hash, Threshold, and LoadMax.
Referenced by Add().
| XrdCmsKeyItem * XrdCmsNash::Find | ( | XrdCmsKey & | Key | ) |
References XrdCmsKey::Hash, XrdCmsKey::setHash(), nashtablesize, nashtable, XrdCmsKeyItem::Key, and XrdCmsKeyItem::Next.
| int XrdCmsNash::Recycle | ( | XrdCmsKeyItem * | rip | ) |
References XrdCmsKeyItem::Loc, XrdCmsKeyLoc::HashSave, nashtablesize, nashtable, XrdCmsKeyItem::Next, XrdCmsKeyItem::Recycle(), and nashnum.
const int XrdCmsNash::LoadMax = 80 [static, private] |
Referenced by XrdCmsNash(), and Expand().
int XrdCmsNash::nashnum [private] |
Referenced by XrdCmsNash(), Add(), and Recycle().
XrdCmsKeyItem** XrdCmsNash::nashtable [private] |
Referenced by XrdCmsNash(), Add(), Expand(), Find(), and Recycle().
int XrdCmsNash::nashtablesize [private] |
Referenced by XrdCmsNash(), Add(), Expand(), Find(), and Recycle().
int XrdCmsNash::prevtablesize [private] |
Referenced by XrdCmsNash(), and Expand().
int XrdCmsNash::Threshold [private] |
Referenced by XrdCmsNash(), Add(), and Expand().
1.7.5