#include <XrdSutCache.hh>
Collaboration diagram for XrdSutCache:

Public Member Functions | |
| XrdSutCache () | |
| virtual | ~XrdSutCache () |
| int | Entries () const |
| bool | Empty () const |
| int | Init (int capacity=100) |
| int | Reset (int newsz=-1) |
| int | Load (const char *pfname) |
| int | Flush (const char *pfname=0) |
| int | Refresh () |
| int | Rehash (bool force=0, bool lock=1) |
| void | SetLifetime (int lifet=300) |
| XrdSutPFEntry * | Get (int i) const |
| XrdSutPFEntry * | Get (const char *ID, bool *wild=0) |
| XrdSutPFEntry * | Add (const char *ID, bool force=0) |
| bool | Remove (const char *ID, int opt=1) |
| int | Trim (int lifet=0) |
| void | Dump (const char *msg=0) |
Private Attributes | |
| XrdSysRWLock | rwlock |
| int | cachesz |
| int | cachemx |
| XrdSutPFEntry ** | cachent |
| kXR_int32 | utime |
| int | lifetime |
| XrdOucHash< kXR_int32 > | hashtable |
| kXR_int32 | htmtime |
| XrdOucString | pfile |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1