#include <XrdSutCache.hh>

Public Member Functions | |
| XrdSutCache (int psize=89, int size=144, int load=80) | |
| virtual | ~XrdSutCache () |
| XrdSutCacheEntry * | Get (const char *tag) |
| XrdSutCacheEntry * | Get (const char *tag, bool &rdlock, XrdSutCacheGet_t condition=0, void *arg=0) |
| int | Num () |
| void | Reset () |
Private Attributes | |
| XrdSysRecMutex | mtx |
| XrdOucHash< XrdSutCacheEntry > | table |
| XrdSutCache::XrdSutCache | ( | int | psize = 89, |
|
| int | size = 144, |
|||
| int | load = 80 | |||
| ) | [inline] |
| virtual XrdSutCache::~XrdSutCache | ( | ) | [inline, virtual] |
| XrdSutCacheEntry* XrdSutCache::Get | ( | const char * | tag, | |
| bool & | rdlock, | |||
| XrdSutCacheGet_t | condition = 0, |
|||
| void * | arg = 0 | |||
| ) | [inline] |
| XrdSutCacheEntry* XrdSutCache::Get | ( | const char * | tag | ) | [inline] |
| int XrdSutCache::Num | ( | ) | [inline] |
References XrdOucHash< T >::Num(), and table.
| void XrdSutCache::Reset | ( | ) | [inline] |
References XrdOucHash< T >::Purge(), and table.
XrdSysRecMutex XrdSutCache::mtx [private] |
Referenced by Get().
XrdOucHash<XrdSutCacheEntry> XrdSutCache::table [private] |
1.6.1