#include <XrdPosixCacheBC.hh>
|
virtual XrdOucCacheIO2 * | Base () |
|
virtual XrdOucCacheIO2 * | Detach () |
|
virtual long long | FSize () |
|
virtual int | Fstat (struct stat &buf) |
|
virtual const char * | Location () |
|
virtual const char * | Path () |
|
virtual int | Read (char *Buffer, long long Offset, int Length) |
|
virtual int | ReadV (const XrdOucIOVec *readV, int n) |
|
virtual int | Sync () |
|
virtual int | Trunc (long long Offset) |
|
virtual int | Write (char *Buffer, long long Offset, int Length) |
|
virtual bool | ioActive () |
|
virtual void | Preread (long long Offset, int Length, int Opts=0) |
|
virtual void | Preread (aprParms &Parms) |
|
| XrdPosixCacheBCIO (XrdOucCacheIO *urCIO, XrdOucCacheIO2 *myCIO) |
|
virtual | ~XrdPosixCacheBCIO () |
|
virtual void | Read (XrdOucCacheIOCB &iocb, char *buff, long long offs, int rlen) |
|
virtual void | ReadV (XrdOucCacheIOCB &iocb, const XrdOucIOVec *readV, int rnum) |
|
virtual void | Sync (XrdOucCacheIOCB &iocb) |
|
virtual void | Update (XrdOucCacheIO2 &iocp) |
|
virtual void | Write (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wlen) |
|
virtual | ~XrdOucCacheIO2 () |
|
virtual | ~XrdOucCacheIO () |
|
virtual XrdPosixCacheBCIO::~XrdPosixCacheBCIO |
( |
| ) |
|
|
inlinevirtual |
virtual long long XrdPosixCacheBCIO::FSize |
( |
| ) |
|
|
inlinevirtual |
virtual int XrdPosixCacheBCIO::Fstat |
( |
struct stat & |
sbuff | ) |
|
|
inlinevirtual |
Perform an fstat() operation (defaults to passthrough).
- Parameters
-
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. |
- Returns
- <0 - fstat failed, value is -errno. =0 - fstat succeeded, sbuff holds stat information. >0 - fstat could not be done, forward operation to next level.
Reimplemented from XrdOucCacheIO2.
References cacheIO2, and XrdOucCacheIO2::Fstat().
virtual bool XrdPosixCacheBCIO::ioActive |
( |
| ) |
|
|
inlinevirtual |
virtual const char* XrdPosixCacheBCIO::Location |
( |
| ) |
|
|
inlinevirtual |
Get the file's location (i.e. endpoint hostname and port)
- Returns
- A pointer to the file's location. It remains valid until the file is closed. A null string means the file is not open or is unknown.
Reimplemented from XrdOucCacheIO2.
References cacheIO2, and XrdOucCacheIO2::Location().
virtual const char* XrdPosixCacheBCIO::Path |
( |
| ) |
|
|
inlinevirtual |
virtual void XrdPosixCacheBCIO::Preread |
( |
long long |
Offset, |
|
|
int |
Length, |
|
|
int |
Opts = 0 |
|
) |
| |
|
inlinevirtual |
virtual void XrdPosixCacheBCIO::Preread |
( |
aprParms & |
Parms | ) |
|
|
inlinevirtual |
virtual int XrdPosixCacheBCIO::Read |
( |
char * |
Buffer, |
|
|
long long |
Offset, |
|
|
int |
Length |
|
) |
| |
|
inlinevirtual |
virtual int XrdPosixCacheBCIO::ReadV |
( |
const XrdOucIOVec * |
readV, |
|
|
int |
n |
|
) |
| |
|
inlinevirtual |
virtual int XrdPosixCacheBCIO::Sync |
( |
| ) |
|
|
inlinevirtual |
virtual int XrdPosixCacheBCIO::Trunc |
( |
long long |
Offset | ) |
|
|
inlinevirtual |
virtual int XrdPosixCacheBCIO::Write |
( |
char * |
Buffer, |
|
|
long long |
Offset, |
|
|
int |
Length |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: