#include <XrdcpXtremeRead.hh>
Public Member Functions | |
XrdXtRdFile (int blksize, long long filesize) | |
~XrdXtRdFile () | |
bool | AllDone () |
int | GimmeANewClientIdx () |
int | GetNBlks () |
int | GetBlkToPrefetch (int fromidx, int clientIdx, XrdXtRdBlkInfo *&blkreadonly) |
int | GetBlkToRead (int fromidx, int clientidx, XrdXtRdBlkInfo *&blkreadonly) |
void | MarkBlkAsRequested (int blkidx) |
int | MarkBlkAsRead (int blkidx) |
Static Public Member Functions | |
static int | GetListOfSources (XrdClient *ref, XrdOucString xtrememgr, XrdClientVector< XrdClient * > &clients, int maxSources=12) |
Private Attributes | |
int | clientidxcnt |
XrdSysRecMutex | mtx |
int | freeblks |
int | nblks |
int | doneblks |
XrdXtRdBlkInfo * | blocks |
XrdXtRdFile::XrdXtRdFile | ( | int | blksize, | |
long long | filesize | |||
) |
XrdXtRdFile::~XrdXtRdFile | ( | ) |
int XrdXtRdFile::GetBlkToPrefetch | ( | int | fromidx, | |
int | clientIdx, | |||
XrdXtRdBlkInfo *& | blkreadonly | |||
) |
int XrdXtRdFile::GetBlkToRead | ( | int | fromidx, | |
int | clientidx, | |||
XrdXtRdBlkInfo *& | blkreadonly | |||
) |
static int XrdXtRdFile::GetListOfSources | ( | XrdClient * | ref, | |
XrdOucString | xtrememgr, | |||
XrdClientVector< XrdClient * > & | clients, | |||
int | maxSources = 12 | |||
) | [static] |
int XrdXtRdFile::GetNBlks | ( | ) | [inline] |
References nblks.
int XrdXtRdFile::GimmeANewClientIdx | ( | ) |
int XrdXtRdFile::MarkBlkAsRead | ( | int | blkidx | ) |
void XrdXtRdFile::MarkBlkAsRequested | ( | int | blkidx | ) |
XrdXtRdBlkInfo* XrdXtRdFile::blocks [private] |
int XrdXtRdFile::clientidxcnt [private] |
int XrdXtRdFile::doneblks [private] |
Referenced by AllDone().
int XrdXtRdFile::freeblks [private] |
XrdSysRecMutex XrdXtRdFile::mtx [private] |
Referenced by AllDone().
int XrdXtRdFile::nblks [private] |
Referenced by AllDone(), and GetNBlks().