#include <XrdSsiRRTable.hh>
Public Member Functions | |
void | Add (T *item, uint64_t itemID) |
void | Clear () |
void | Del (uint64_t itemID, bool finit=false) |
T * | LookUp (uint64_t itemID) |
int | Num () |
void | Reset () |
XrdSsiRRTable () | |
~XrdSsiRRTable () | |
Private Attributes | |
XrdSsiMutex | rrtMutex |
T * | baseItem |
uint64_t | baseKey |
std::map< uint64_t, T * > | theMap |
XrdSsiRRTable< T >::XrdSsiRRTable | ( | ) | [inline] |
XrdSsiRRTable< T >::~XrdSsiRRTable | ( | ) | [inline] |
void XrdSsiRRTable< T >::Add | ( | T * | item, | |
uint64_t | itemID | |||
) | [inline] |
void XrdSsiRRTable< T >::Clear | ( | ) | [inline] |
void XrdSsiRRTable< T >::Del | ( | uint64_t | itemID, | |
bool | finit = false | |||
) | [inline] |
T* XrdSsiRRTable< T >::LookUp | ( | uint64_t | itemID | ) | [inline] |
int XrdSsiRRTable< T >::Num | ( | ) | [inline] |
void XrdSsiRRTable< T >::Reset | ( | ) | [inline] |
Referenced by XrdSsiRRTable< XrdSsiFileReq >::~XrdSsiRRTable().
T* XrdSsiRRTable< T >::baseItem [private] |
uint64_t XrdSsiRRTable< T >::baseKey [private] |
XrdSsiMutex XrdSsiRRTable< T >::rrtMutex [private] |
std::map<uint64_t, T*> XrdSsiRRTable< T >::theMap [private] |