![]() |
XRootD
|
#include <XrdOucHash.hh>
Public Member Functions | |
XrdOucHash (int psize=89, int size=144, int load=80) | |
~XrdOucHash () | |
T * | Add (const char *KeyVal, T *KeyData, const int LifeTime=0, XrdOucHash_Options opt=Hash_default) |
T * | Apply (int(*func)(const char *, T *, void *), void *Arg) |
int | Del (const char *KeyVal, XrdOucHash_Options opt=Hash_default) |
T * | Find (const char *KeyVal, time_t *KeyTime=0) |
int | Num () |
void | Purge () |
T * | Rep (const char *KeyVal, T *KeyData, const int LifeTime=0, XrdOucHash_Options opt=Hash_default) |
Definition at line 127 of file XrdOucHash.hh.
XrdOucHash< T >::XrdOucHash | ( | int | psize = 89, |
int | size = 144, | ||
int | load = 80 ) |
Definition at line 44 of file XrdOucHash.icc.
|
inline |
Definition at line 186 of file XrdOucHash.hh.
References XrdOucHash< T >::Purge().
T * XrdOucHash< T >::Add | ( | const char * | KeyVal, |
T * | KeyData, | ||
const int | LifeTime = 0, | ||
XrdOucHash_Options | opt = Hash_default ) |
Definition at line 61 of file XrdOucHash.icc.
References XrdOucHash_Item< T >::Count(), XrdOucHash_Item< T >::Data(), Hash_count, Hash_replace, XrdOucHash_Item< T >::Time(), XrdOucHash_Item< T >::Update(), and XrdOucHashVal().
Referenced by XrdCmsPrepare::Add(), XrdFrmXfrQueue::Add(), XrdAccGroups::AddName(), XrdSutCache::Get(), XrdCryptoFactory::GetCryptoFactory(), XrdAccGroups::Groups(), XrdOssMio::Map(), XrdAccGroups::NetGroups(), XrdSutPFCache::Rehash(), XrdOucHash< T >::Rep(), XrdFrmFileset::Screen(), XrdOssSys::Stage_QT(), and XrdVomsFun::VOMSInit().
T * XrdOucHash< T >::Apply | ( | int(* | func )(const char *, T *, void *), |
void * | Arg ) |
Definition at line 102 of file XrdOucHash.icc.
References XrdOucHash_Item< T >::Data(), XrdOucHash_Item< T >::Key(), XrdOucHash_Item< T >::Next(), XrdOucHash_Item< T >::SetNext(), and XrdOucHash_Item< T >::Time().
Referenced by XrdOucGMap::dn2user(), XrdAccGroups::NetGroups(), and XrdOssSys::Stage_QT().
int XrdOucHash< T >::Del | ( | const char * | KeyVal, |
XrdOucHash_Options | opt = Hash_default ) |
Definition at line 136 of file XrdOucHash.icc.
References XrdOucHashVal().
Referenced by XrdFrmXfrQueue::Done(), and XrdCmsPrepare::Gone().
T * XrdOucHash< T >::Find | ( | const char * | KeyVal, |
time_t * | KeyTime = 0 ) |
Definition at line 160 of file XrdOucHash.icc.
Referenced by XrdAccAccess::Access(), XrdFrmXfrQueue::Add(), XrdAccGroups::AddName(), XrdNetSecurity::Authorize(), XrdOucGMap::dn2user(), XrdCmsPrepare::Exists(), XrdAccGroups::FindName(), XrdOucEnv::Get(), XrdSutCache::Get(), XrdSutCache::Get(), XrdCryptoFactory::GetCryptoFactory(), XrdOucEnv::GetInt(), XrdOucEnv::GetPtr(), XrdAccGroups::Groups(), XrdOssMio::Map(), XrdAccGroups::NetGroups(), XrdSutPFile::ReadEntry(), XrdSutPFCache::Remove(), XrdSutPFile::RemoveEntry(), XrdSutPFile::UpdateCount(), and XrdVomsFun::VOMSFun().
|
inline |
Definition at line 158 of file XrdOucHash.hh.
Referenced by XrdAccConfig::ConfigDB(), XrdSutCache::Num(), XrdVomsFun::VOMSFun(), and XrdVomsFun::VOMSInit().
void XrdOucHash< T >::Purge | ( | ) |
Definition at line 193 of file XrdOucHash.icc.
References XrdOucHash_Item< T >::Next().
Referenced by XrdOucHash< T >::~XrdOucHash(), XrdFrmFiles::Get(), XrdFrmFileset::Purge(), XrdAccGroups::PurgeCache(), XrdSutPFCache::Rehash(), and XrdSutCache::Reset().
|
inline |
Definition at line 166 of file XrdOucHash.hh.
References XrdOucHash< T >::Add(), and Hash_replace.
Referenced by XrdOucEnv::XrdOucEnv(), XrdCmsBaseFS::Exists(), XrdOucEnv::Put(), XrdOucEnv::PutInt(), and XrdOucEnv::PutPtr().