1 #ifndef __XRDRMCDATA_HH__
2 #define __XRDRMCDATA_HH__
58 int Read (
char *Buffer,
long long Offset,
int Length);
60 static int setAPR(aprParms &Dest, aprParms &Src,
int pSize);
64 int Trunc(
long long Offset);
66 int Write(
char *Buffer,
long long Offset,
int Length);
69 long long vn,
int opts);
73 void QueuePR(
long long SegOffs,
int rLen,
int prHow,
int isAuto=0);
75 char *Buffer,
long long Offs,
int Length);
84 inline void UnLock() {
if (myLock) {myLock->UnLock(myUsage); myLock = 0;}}
88 ~MrSw() {
if (myLock) myLock->UnLock(myUsage);}
120 static const int okRW = 1;
121 static const int xqRW = 2;
125 XrdRmcReal::prTask prReq;
130 static const int prRRMax= 5;
131 long long prRR[prRRMax];
134 static const int prMax = 8;
135 static const int prRun = 1;
136 static const int prWait = 2;
138 static const int prLRU = 1;
139 static const int prSUSE = 2;
140 static const int prSKIP = 3;
144 long long prBeg[prMax];
145 long long prEnd[prMax];
virtual const char * Path()=0
virtual int Read(char *buff, long long offs, int rlen)=0
virtual long long FSize()=0
int Read(char *Buffer, long long Offset, int Length)
int Trunc(long long Offset)
XrdRmcData(XrdRmcReal *cP, XrdOucCacheIO *ioP, long long vn, int opts)
int Write(char *Buffer, long long Offset, int Length)
bool Detach(XrdOucCacheIOCD &iocd)
static int setAPR(aprParms &Dest, aprParms &Src, int pSize)
void Lock(const XrdSysXS_Type usage)