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);
82 inline void UnLock() {
if (myLock) {myLock->UnLock(myUsage); myLock = 0;}}
86 ~MrSw() {
if (myLock) myLock->UnLock(myUsage);}
118 static const int okRW = 1;
119 static const int xqRW = 2;
123 XrdRmcReal::prTask prReq;
128 static const int prRRMax= 5;
129 long long prRR[prRRMax];
132 static const int prMax = 8;
133 static const int prRun = 1;
134 static const int prWait = 2;
136 static const int prLRU = 1;
137 static const int prSUSE = 2;
138 static const int prSKIP = 3;
142 long long prBeg[prMax];
143 long long prEnd[prMax];
virtual const char * Path()=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)