#include <XrdPosixPrepIO.hh>


Public Member Functions | |
| XrdOucCacheIO * | Base () |
| XrdOucCacheIO * | Detach () |
| void | Disable () |
| long long | FSize () |
| int | Fstat (struct stat &buf) |
| bool | ioActive () |
| int | Open () |
| const char * | Path () |
| int | Read (char *Buffer, long long Offset, int Length) |
| void | Read (XrdOucCacheIOCB &iocb, char *buff, long long offs, int rlen) |
| int | ReadV (const XrdOucIOVec *readV, int n) |
| void | ReadV (XrdOucCacheIOCB &iocb, const XrdOucIOVec *readV, int rnum) |
| int | Sync () |
| void | Sync (XrdOucCacheIOCB &iocb) |
| int | Trunc (long long Offset) |
| int | Write (char *Buffer, long long Offset, int Length) |
| void | Write (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wlen) |
| XrdPosixPrepIO (XrdPosixFile *fP, XrdCl::OpenFlags::Flags clflags, XrdCl::Access::Mode clmode) | |
| virtual | ~XrdPosixPrepIO () |
Private Member Functions | |
| bool | Init (XrdOucCacheIOCB *iocbP=0) |
Private Attributes | |
| XrdPosixFile * | fileP |
| int | openRC |
| int | iCalls |
| XrdCl::OpenFlags::Flags | clFlags |
| XrdCl::Access::Mode | clMode |
| XrdPosixPrepIO::XrdPosixPrepIO | ( | XrdPosixFile * | fP, | |
| XrdCl::OpenFlags::Flags | clflags, | |||
| XrdCl::Access::Mode | clmode | |||
| ) | [inline] |
| virtual XrdPosixPrepIO::~XrdPosixPrepIO | ( | ) | [inline, virtual] |
| XrdOucCacheIO* XrdPosixPrepIO::Base | ( | ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
| XrdOucCacheIO* XrdPosixPrepIO::Detach | ( | ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
| void XrdPosixPrepIO::Disable | ( | ) |
| long long XrdPosixPrepIO::FSize | ( | ) | [inline, virtual] |
Implements XrdOucCacheIO.
References fileP, XrdPosixFile::FSize(), Init(), and openRC.
| int XrdPosixPrepIO::Fstat | ( | struct stat & | sbuff | ) | [inline, virtual] |
Perform an fstat() operation (defaults to passthrough).
| sbuff | reference to the stat buffer to be filled in. Only fields st_size, st_blocks, st_mtime (st_atime and st_ctime may be set to st_mtime), st_ino, and st_mode need to be set. All other fields are preset and should not be changed. |
Reimplemented from XrdOucCacheIO2.
References fileP, XrdPosixFile::Fstat(), Init(), and openRC.
| bool XrdPosixPrepIO::Init | ( | XrdOucCacheIOCB * | iocbP = 0 |
) | [private] |
| bool XrdPosixPrepIO::ioActive | ( | ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
| const char* XrdPosixPrepIO::Path | ( | ) | [inline, virtual] |
Implements XrdOucCacheIO.
References fileP, and XrdPosixFile::Path().
| void XrdPosixPrepIO::Read | ( | XrdOucCacheIOCB & | iocb, | |
| char * | buff, | |||
| long long | offs, | |||
| int | rlen | |||
| ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO2.
References XrdOucCacheIOCB::Done(), fileP, Init(), openRC, and XrdPosixFile::Read().
| int XrdPosixPrepIO::Read | ( | char * | Buffer, | |
| long long | Offset, | |||
| int | Length | |||
| ) | [inline, virtual] |
Implements XrdOucCacheIO.
References fileP, Init(), openRC, and XrdPosixFile::Read().
| void XrdPosixPrepIO::ReadV | ( | XrdOucCacheIOCB & | iocb, | |
| const XrdOucIOVec * | readV, | |||
| int | rnum | |||
| ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO2.
References XrdOucCacheIOCB::Done(), fileP, Init(), openRC, and XrdPosixFile::ReadV().
| int XrdPosixPrepIO::ReadV | ( | const XrdOucIOVec * | readV, | |
| int | n | |||
| ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
References fileP, Init(), openRC, and XrdPosixFile::ReadV().
| void XrdPosixPrepIO::Sync | ( | XrdOucCacheIOCB & | iocb | ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO2.
References XrdOucCacheIOCB::Done(), fileP, Init(), openRC, and XrdPosixFile::Sync().
| int XrdPosixPrepIO::Sync | ( | ) | [inline, virtual] |
Implements XrdOucCacheIO.
References fileP, Init(), openRC, and XrdPosixFile::Sync().
| int XrdPosixPrepIO::Trunc | ( | long long | Offset | ) | [inline, virtual] |
Implements XrdOucCacheIO.
References fileP, Init(), openRC, and XrdPosixFile::Trunc().
| void XrdPosixPrepIO::Write | ( | XrdOucCacheIOCB & | iocb, | |
| char * | buff, | |||
| long long | offs, | |||
| int | wlen | |||
| ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO2.
References XrdOucCacheIOCB::Done(), fileP, Init(), openRC, and XrdPosixFile::Write().
| int XrdPosixPrepIO::Write | ( | char * | Buffer, | |
| long long | Offset, | |||
| int | Length | |||
| ) | [inline, virtual] |
Implements XrdOucCacheIO.
References fileP, Init(), openRC, and XrdPosixFile::Write().
XrdCl::Access::Mode XrdPosixPrepIO::clMode [private] |
XrdPosixFile* XrdPosixPrepIO::fileP [private] |
int XrdPosixPrepIO::iCalls [private] |
int XrdPosixPrepIO::openRC [private] |
1.6.1