|
xrootd
|
Classes | |
| struct | ShMap_Parms |
| class | ShMap |
Typedefs | |
| typedef int(* | ShMap_Hash_t )(const char *key) |
Enumerations | |
| enum | ShMap_Access { ReadOnly = 1, ReadWrite = 2 } |
| The action parameter that must be passed to the Attach() method. More... | |
| enum | SyncOpt { SyncOff = 0, SyncOn, SyncAll, SyncNow, SyncQSz } |
| Options valid for the Sync() method. More... | |
Variables | |
| static const int | ShMap_4Resize = -1 |
| XrdSysTrace | Trace |
This include file defines a simple key-value store interface using shared memory. This allows you to share the map with other processes in read as well as read/write mode. See the XrdSsi::ShMap teplated class within.
| typedef int(* XrdSsi::ShMap_Hash_t)(const char *key) |
Typedef for the optional hash computation function (see constructor)
| key | Pointer to the key whose hash is to be returned. If nil the function should return its 4-character name (e.g. {int hash; memcpy(&hash, "c32 ", sizeof(int)); return hash;} |
| enum XrdSsi::ShMap_Access |
| enum XrdSsi::SyncOpt |
Options valid for the Sync() method.
| Enumerator | |
|---|---|
| SyncOff | |
| SyncOn | |
| SyncAll | |
| SyncNow | |
| SyncQSz | |
|
static |
Parameters to pass to Create(). For Resize(&parms) initialize the struct as: "ShMap_Parms parms(XrdSsi::ShMap_Parms::ForResize)" so that the default values are appropriate for resizing instead of creation.
| XrdSysTrace XrdSsi::Trace |
1.8.5