![]() |
XRootD
|
#include <XrdRmc.hh>
Classes | |
struct | Parms |
Parameters for a newly created memory cache. More... | |
Public Member Functions | |
XrdRmc () | |
~XrdRmc () | |
Static Public Member Functions | |
static XrdOucCache * | Create (Parms &Params, XrdOucCacheIO::aprParms *aprP=0) |
Static Public Attributes | |
static const int | canPreRead = 0x0040 |
Enable pre-read operations (o/w ignored) More... | |
static const int | Debug = 0x0003 |
Produce some debug messages (levels 0, 1, 2, or 3) More... | |
static const int | ioMTSafe = 0x0008 |
CacheIO object is MT-safe. More... | |
static const int | isServer = 0x0010 |
This is server application; not a user application. More... | |
static const int | isStructured = 0x0020 |
static const int | logStats = 0x0080 |
Display statistics upon detach. More... | |
static const int | Serialized = 0x0004 |
Caller ensures MRSW semantics. More... | |
The class defined here implements a general memory cache for data from an arbitrary source (e.g. files, sockets, etc). It is based on the abstract definition of a cache. Use the Create() method to create instances of a cache. There can be many such instances. Each instance is associated with one or more XrdOucCacheIO objects (see the XrdOucCache::Attach() method).
Notes:
|
static |
Create an instance of a memory cache.
Params | Reference to mandatory cache parameters. |
aprP | Optional pointer to default automatic preread parameters. |
Definition at line 40 of file XrdRmc.cc.
|
static |
Enable pre-read operations (o/w ignored)
Definition at line 124 of file XrdRmc.hh.
Referenced by XrdRmcReal::XrdRmcReal().
|
static |
Produce some debug messages (levels 0, 1, 2, or 3)
Definition at line 136 of file XrdRmc.hh.
Referenced by XrdRmcReal::XrdRmcReal().
|
static |
CacheIO object is MT-safe.
Definition at line 133 of file XrdRmc.hh.
Referenced by XrdRmcData::XrdRmcData().
|
static |
This is server application; not a user application.
Definition at line 118 of file XrdRmc.hh.
Referenced by XrdRmcReal::XrdRmcReal().
|
static |
Definition at line 121 of file XrdRmc.hh.
Referenced by XrdRmcReal::Attach().
|
static |
Display statistics upon detach.
Definition at line 127 of file XrdRmc.hh.
Referenced by XrdRmcReal::XrdRmcReal().
|
static |
Caller ensures MRSW semantics.
Definition at line 130 of file XrdRmc.hh.
Referenced by XrdRmcData::XrdRmcData().