#include <XrdOucRash.hh>
List of all members.
Public Member Functions |
V * | Add (K KeyVal, V &KeyData, time_t LifeTime=0, XrdOucRash_Options opt=Rash_default) |
int | Del (K KeyVal) |
V * | Find (K KeyVal, time_t *KeyTime=0) |
int | Num () |
void | Purge () |
V * | Rep (K KeyVal, V &KeyData, const int LifeTime=0, XrdOucRash_Options opt=Rash_default) |
V * | Apply (int(*func)(K, V, void *), void *Arg) |
| XrdOucRash () |
| ~XrdOucRash () |
Private Member Functions |
V * | Apply (XrdOucRash_Tent< K, V > *tab, int(*func)(K, V, void *), void *Arg) |
XrdOucRash_Item< K, V > * | Lookup (K theKey, XrdOucRash_Tent< K, V > **tloc) |
void | Insert (K theKey, XrdOucRash_Item< K, V > *theItem) |
unsigned long long | key2ull (K theKey) |
Private Attributes |
XrdOucRash_Tent< K, V > | rashTable [16] |
int | rashnum |
template<typename K, typename V>
class XrdOucRash< K, V >
Constructor & Destructor Documentation
template<typename K, typename V>
template<typename K, typename V>
Member Function Documentation
template<typename K, typename V>
References XrdOucRash_Item< K, V >::Count(), XrdOucRash_Item< K, V >::Data(), Rash_count, Rash_replace, XrdOucRash_Item< K, V >::Set(), XrdOucRash_Item< K, V >::Time(), and XrdOucRash_Item< K, V >::Update().
Referenced by XrdClientSid::GetNewSid(), and XrdOucRash< Sockdescr, Sockid >::Rep().
template<typename K, typename V>
template<typename K, typename V>
V* XrdOucRash< K, V >::Apply |
( |
int(*)(K, V, void *) |
func, |
|
|
void * |
Arg |
|
) |
| [inline] |
template<typename K, typename V >
template<typename K, typename V >
V * XrdOucRash< K, V >::Find |
( |
K |
KeyVal, |
|
|
time_t * |
KeyTime = 0 |
|
) |
| |
References XrdOucRash_Item< K, V >::Data(), XrdOucRash_Tent< K, V >::Item, and XrdOucRash_Item< K, V >::Time().
Referenced by FdSetSockFunc(), XrdClientSid::GetSidInfo(), XrdClientPSock::GetSock(), XrdClientPSock::GetSockId(), XrdClientSid::JoinedSids(), XrdClientSid::ReportSidResp(), and XrdClientPSock::SaveSocket().
template<typename K, typename V>
template<typename K, typename V >
unsigned long long XrdOucRash< K, V >::key2ull |
( |
K |
theKey | ) |
[private] |
template<typename K, typename V>
template<typename K, typename V>
template<typename K , typename V >
template<typename K, typename V>
Member Data Documentation
template<typename K, typename V>
template<typename K, typename V>
The documentation for this class was generated from the following files: