XrdOfsHanTab Class Reference

#include <XrdOfsHandle.hh>

List of all members.

Public Member Functions

void Add (XrdOfsHandle *hP)
XrdOfsHandleFind (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


Detailed Description

Definition at line 68 of file XrdOfsHandle.hh.


Constructor & Destructor Documentation

XrdOfsHanTab::XrdOfsHanTab ( int  psize = 987,
int  size = 1597 
)

Definition at line 550 of file XrdOfsHandle.cc.

References LoadMax, malloc(), nashnum, nashtable, nashtablesize, prevtablesize, size_t, and Threshold.

XrdOfsHanTab::~XrdOfsHanTab (  )  [inline]

Definition at line 82 of file XrdOfsHandle.hh.


Member Function Documentation

void XrdOfsHanTab::Add ( XrdOfsHandle hP  ) 

Definition at line 565 of file XrdOfsHandle.cc.

References Expand(), XrdOfsHanKey::Hash, nashnum, nashtable, nashtablesize, XrdOfsHandle::Next, XrdOfsHandle::Path, and Threshold.

Referenced by XrdOfsHandle::Alloc().

XrdOfsHandle * XrdOfsHanTab::Find ( XrdOfsHanKey Key  ) 

Definition at line 629 of file XrdOfsHandle.cc.

References XrdOfsHanKey::Hash, nashtable, nashtablesize, XrdOfsHandle::Next, and XrdOfsHandle::Path.

Referenced by XrdOfsHandle::Alloc(), and XrdOfsHandle::Hide().

int XrdOfsHanTab::Remove ( XrdOfsHandle rip  ) 

Definition at line 649 of file XrdOfsHandle.cc.

References XrdOfsHanKey::Hash, nashnum, nashtable, nashtablesize, XrdOfsHandle::Next, and XrdOfsHandle::Path.

Referenced by XrdOfsHandle::Retire().

void XrdOfsHanTab::Expand (  )  [private]

Definition at line 584 of file XrdOfsHandle.cc.

References free(), XrdOfsHanKey::Hash, i, LoadMax, malloc(), nashtable, nashtablesize, XrdOfsHandle::Next, XrdOfsHandle::Path, prevtablesize, size_t, and Threshold.

Referenced by Add().


Member Data Documentation

const int XrdOfsHanTab::LoadMax = 80 [static, private]

Definition at line 86 of file XrdOfsHandle.hh.

Referenced by Expand(), and XrdOfsHanTab().

XrdOfsHandle** XrdOfsHanTab::nashtable [private]

Definition at line 90 of file XrdOfsHandle.hh.

Referenced by Add(), Expand(), Find(), Remove(), and XrdOfsHanTab().

int XrdOfsHanTab::prevtablesize [private]

Definition at line 91 of file XrdOfsHandle.hh.

Referenced by Expand(), and XrdOfsHanTab().

int XrdOfsHanTab::nashtablesize [private]

Definition at line 92 of file XrdOfsHandle.hh.

Referenced by Add(), Expand(), Find(), Remove(), and XrdOfsHanTab().

int XrdOfsHanTab::nashnum [private]

Definition at line 93 of file XrdOfsHandle.hh.

Referenced by Add(), Remove(), and XrdOfsHanTab().

int XrdOfsHanTab::Threshold [private]

Definition at line 94 of file XrdOfsHandle.hh.

Referenced by Add(), Expand(), and XrdOfsHanTab().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:36 2011 for ROOT_528-00b_version by  doxygen 1.5.1