#include <XrdOucRash.hh>
Public Member Functions | |
| XrdOucRash () | |
| ~XrdOucRash () | |
| V * | Add (K KeyVal, V &KeyData, time_t LifeTime=0, XrdOucRash_Options opt=Rash_default) |
| V * | Apply (int(*func)(K, V, void *), void *Arg) |
| 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) |
Definition at line 112 of file XrdOucRash.hh.
|
inline |
Definition at line 166 of file XrdOucRash.hh.
|
inline |
Definition at line 167 of file XrdOucRash.hh.
References Purge().
| V * XrdOucRash< K, V >::Add | ( | K | KeyVal, |
| V & | KeyData, | ||
| time_t | LifeTime = 0, | ||
| XrdOucRash_Options | opt = Rash_default ) |
Definition at line 39 of file XrdOucRash.icc.
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 Rep().
|
inline |
Definition at line 163 of file XrdOucRash.hh.
References Apply().
Referenced by Apply().
| int XrdOucRash< K, V >::Del | ( | K | KeyVal | ) |
Definition at line 76 of file XrdOucRash.icc.
References XrdOucRash_Item< K, V >::Count(), XrdOucRash_Tent< K, V >::Item, and XrdOucRash_Item< K, V >::Update().
| V * XrdOucRash< K, V >::Find | ( | K | KeyVal, |
| time_t * | KeyTime = 0 ) |
Definition at line 101 of file XrdOucRash.icc.
References XrdOucRash_Item< K, V >::Data(), XrdOucRash_Tent< K, V >::Item, and XrdOucRash_Item< K, V >::Time().
|
inline |
Definition at line 142 of file XrdOucRash.hh.
| void XrdOucRash< K, V >::Purge | ( | ) |
Definition at line 129 of file XrdOucRash.icc.
Referenced by ~XrdOucRash().
|
inline |
Definition at line 150 of file XrdOucRash.hh.
References Add(), Rash_default, and Rash_replace.