xrootd
|
#include <XrdPosixFileRH.hh>
Public Types | |
enum | ioType { nonIO = 0 , isRead = 1 , isReadV = 2 , isWrite = 3 , isReadP = 4 , isWriteP = 5 } |
Public Member Functions | |
void | DoIt () |
void | HandleResponse (XrdCl::XRootDStatus *status, XrdCl::AnyObject *response) |
void | Recycle () |
void | setCSVec (std::vector< uint32_t > *csv, int *csf, bool fcs=false) |
void | Sched (int result) |
Public Member Functions inherited from XrdJob | |
XrdJob (const char *desc="") | |
virtual | ~XrdJob () |
Public Member Functions inherited from XrdCl::ResponseHandler | |
virtual | ~ResponseHandler () |
virtual void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
Static Public Member Functions | |
static XrdPosixFileRH * | Alloc (XrdOucCacheIOCB *cbp, XrdPosixFile *fp, long long offs, int xResult, ioType typeIO) |
static void | SetMax (int mval) |
Static Public Member Functions inherited from XrdCl::ResponseHandler | |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus &, AnyObject &)> func) |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus *, AnyObject *)> func) |
Private Member Functions | |
XrdPosixFileRH () | |
virtual | ~XrdPosixFileRH () |
Private Attributes | ||
union { | ||
XrdOucCacheIOCB * theCB | ||
XrdPosixFileRH * next | ||
}; | ||
XrdPosixFile * | theFile | |
std::vector< uint32_t > * | csVec | |
int * | csfix | |
long long | offset | |
int | result | |
ioType | typeIO | |
bool | csFrc | |
Static Private Attributes | |
static XrdSysMutex | myMutex |
static XrdPosixFileRH * | freeRH |
static int | numFree |
static int | maxFree |
Additional Inherited Members | |
Public Attributes inherited from XrdJob | |
XrdJob * | NextJob |
const char * | Comment |
|
inlineprivate |
|
inlineprivatevirtual |
|
static |
|
inlinevirtual |
Implements XrdJob.
References XrdOucCacheIOCB::Done(), Recycle(), result, and theCB.
|
virtual |
Called when a response to associated request arrives or an error occurs
status | status of the request |
response | an object associated with the response (request dependent) |
Reimplemented from XrdCl::ResponseHandler.
void XrdPosixFileRH::Recycle | ( | ) |
Referenced by DoIt().
void XrdPosixFileRH::Sched | ( | int | result | ) |
|
inline |
|
inlinestatic |
References maxFree.
union { ... } XrdPosixFileRH |
|
private |
Referenced by setCSVec().
|
private |
Referenced by setCSVec().
|
private |
Referenced by setCSVec().
|
staticprivate |
|
staticprivate |
Referenced by SetMax().
|
staticprivate |
XrdPosixFileRH* XrdPosixFileRH::next |
|
staticprivate |
|
private |
|
private |
Referenced by DoIt().
XrdOucCacheIOCB* XrdPosixFileRH::theCB |
Referenced by DoIt().
|
private |
|
private |