xrootd
|
#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 |
|
inline |
References nblks.
int XrdXtRdFile::GimmeANewClientIdx | ( | ) |
int XrdXtRdFile::MarkBlkAsRead | ( | int | blkidx | ) |
void XrdXtRdFile::MarkBlkAsRequested | ( | int | blkidx | ) |
|
private |
|
private |
|
private |
Referenced by AllDone().
|
private |
|
private |
Referenced by AllDone().
|
private |
Referenced by AllDone(), and GetNBlks().