|
xrootd
|
#include <XrdRmcData.hh>


Classes | |
| class | MrSw |
Public Member Functions | |
| bool | Detach (XrdOucCacheIOCD &iocd) |
| long long | FSize () |
| const char * | Path () |
| void | Preread () |
| void | Preread (aprParms &Parms) |
| void | Preread (long long Offs, int rLen, int Opts=0) |
| int | Read (char *Buffer, long long Offset, int Length) |
| int | Sync () |
| int | Trunc (long long Offset) |
| int | Write (char *Buffer, long long Offset, int Length) |
| XrdRmcData (XrdRmcReal *cP, XrdOucCacheIO *ioP, long long vn, int opts) | |
Public Member Functions inherited from XrdOucCacheIO | |
| virtual int | Fstat (struct stat &sbuff) |
| virtual const char * | Location () |
| virtual int | pgRead (char *buff, long long offs, int rdlen, uint32_t *csvec, uint64_t opts=0) |
| virtual void | pgRead (XrdOucCacheIOCB &iocb, char *buff, long long offs, int rdlen, uint32_t *csvec, uint64_t opts=0) |
| virtual int | pgWrite (char *buff, long long offs, int rdlen, uint32_t *csvec, uint64_t opts=0) |
| virtual void | pgWrite (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wrlen, uint32_t *csvec, uint64_t opts=0) |
| virtual void | Read (XrdOucCacheIOCB &iocb, char *buff, long long offs, int rlen) |
| virtual int | ReadV (const XrdOucIOVec *readV, int rnum) |
| virtual void | ReadV (XrdOucCacheIOCB &iocb, const XrdOucIOVec *readV, int rnum) |
| virtual void | Sync (XrdOucCacheIOCB &iocb) |
| virtual void | Trunc (XrdOucCacheIOCB &iocb, long long offs) |
| virtual void | Update (XrdOucCacheIO &iocp) |
| virtual void | Write (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wlen) |
| virtual int | WriteV (const XrdOucIOVec *writV, int wnum) |
| virtual void | WriteV (XrdOucCacheIOCB &iocb, const XrdOucIOVec *writV, int wnum) |
| XrdOucCacheIO () | |
| Construct and Destructor. More... | |
Static Public Member Functions | |
| static int | setAPR (aprParms &Dest, aprParms &Src, int pSize) |
Private Member Functions | |
| ~XrdRmcData () | |
| void | QueuePR (long long SegOffs, int rLen, int prHow, int isAuto=0) |
| int | Read (XrdOucCacheStats &Now, char *Buffer, long long Offs, int Length) |
Private Attributes | |
| XrdOucCacheStats | Statistics |
| XrdSysXSLock | rwLock |
| XrdSysXSLock * | pPLock |
| XrdSysXSLock * | rPLock |
| XrdSysXSLock * | wPLock |
| XrdSysXS_Type | pPLopt |
| XrdSysXS_Type | rPLopt |
| XrdSysMutex | DMutex |
| XrdRmcReal * | Cache |
| XrdOucCacheIO * | ioObj |
| long long | VNum |
| long long | SegSize |
| long long | OffMask |
| long long | SegShft |
| int | maxCache |
| char | isFIS |
| char | isRW |
| char | Debug |
| XrdRmcReal::prTask | prReq |
| XrdSysSemaphore * | prStop |
| long long | prNSS |
| long long | prRR [prRRMax] |
| int | prRRNow |
| aprParms | Apr |
| long long | prCalc |
| long long | prBeg [prMax] |
| long long | prEnd [prMax] |
| int | prNext |
| int | prFree |
| int | prPerf |
| char | prOpt [prMax] |
| char | prOK |
| char | prActive |
| char | prAuto |
Static Private Attributes | |
| static const int | okRW = 1 |
| static const int | xqRW = 2 |
| static const int | prRRMax = 5 |
| static const int | prMax = 8 |
| static const int | prRun = 1 |
| static const int | prWait = 2 |
| static const int | prLRU = 1 |
| static const int | prSUSE = 2 |
| static const int | prSKIP = 3 |
Additional Inherited Members | |
Static Public Attributes inherited from XrdOucCacheIO | |
| static const int | SingleUse = 0x0001 |
| Mark pages for single use. More... | |
Protected Member Functions inherited from XrdOucCacheIO | |
| virtual | ~XrdOucCacheIO () |
| XrdRmcData::XrdRmcData | ( | XrdRmcReal * | cP, |
| XrdOucCacheIO * | ioP, | ||
| long long | vn, | ||
| int | opts | ||
| ) |
|
inlineprivate |
|
virtual |
Detach this CacheIO object from the cache.
| iocd | reference to the detach complete callback object. |
Implements XrdOucCacheIO.
|
inlinevirtual |
Obtain size of the file.
Implements XrdOucCacheIO.
References XrdOucCacheIO::FSize(), and ioObj.
|
inlinevirtual |
Get the path associated with this object.
Implements XrdOucCacheIO.
References ioObj, and XrdOucCacheIO::Path().
| void XrdRmcData::Preread | ( | ) |
|
virtual |
Reimplemented from XrdOucCacheIO.
|
virtual |
Reimplemented from XrdOucCacheIO.
|
private |
|
virtual |
Perform an synchronous read.
| buff | pointer to the buffer to receive the results. The buffer must remain valid until the callback is invoked. |
| offs | the offset into the file. |
| rlen | the number of bytes to read. |
Implements XrdOucCacheIO.
|
private |
|
inlinevirtual |
Perform an synchronous sync() operation.
Implements XrdOucCacheIO.
|
virtual |
Perform an synchronous trunc() operation.
| offs | the size the file is have. |
Implements XrdOucCacheIO.
|
virtual |
Perform an synchronous write.
| buff | pointer to the buffer holding the contents. The buffer must remain valid until the callback is invoked. |
| offs | the offset into the file. |
| wlen | the number of bytes to write |
Implements XrdOucCacheIO.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |