xrootd
|
#include <XrdOucCache.hh>
Public Member Functions | |
virtual void | Done (int result)=0 |
XrdOucCacheIOCB () | |
virtual | ~XrdOucCacheIOCB () |
The XrdOucCacheIOCB defines a callback object that must be used to handle asynchronous I/O operations.
|
inline |
|
inlinevirtual |
|
pure virtual |
Handle result from a previous async operation.
result | is result from a previous operation. Successful results are always values >= 0 while errors are negative values and are always '-errno' indicate the reason for the error. |
Implemented in XrdPosixCallBackIO, XrdPfc::DirectResponseHandler, and XrdPfc::BlockResponseHandler.
Referenced by XrdPosixFileRH::DoIt(), XrdOucCacheIO::pgRead(), XrdOucCacheIO::pgWrite(), XrdPfc::IOFileBlock::Read(), XrdPosixPrepIO::Read(), XrdPfc::IOEntireFile::ReadV(), XrdPosixPrepIO::ReadV(), XrdPfc::IO::Sync(), XrdPosixPrepIO::Sync(), XrdPfc::IO::Trunc(), XrdPfc::IO::Write(), XrdPosixPrepIO::Write(), and XrdOucCacheIO::WriteV().