#include <XrdPosixCacheBC.hh>
Public Member Functions | |
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 () |
Private Attributes | |
XrdOucCacheIO * | cacheIO1 |
XrdOucCacheIO2 * | cacheIO2 |
XrdPosixCacheBCIO::XrdPosixCacheBCIO | ( | XrdOucCacheIO * | urCIO, | |
XrdOucCacheIO2 * | myCIO | |||
) | [inline] |
virtual XrdPosixCacheBCIO::~XrdPosixCacheBCIO | ( | ) | [inline, virtual] |
virtual XrdOucCacheIO2* XrdPosixCacheBCIO::Base | ( | ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
References cacheIO2.
virtual XrdOucCacheIO2* XrdPosixCacheBCIO::Detach | ( | ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
References cacheIO1, cacheIO2, and XrdOucCacheIO::Detach().
virtual long long XrdPosixCacheBCIO::FSize | ( | ) | [inline, virtual] |
Implements XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::FSize().
virtual int XrdPosixCacheBCIO::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 cacheIO2, and XrdOucCacheIO2::Fstat().
virtual bool XrdPosixCacheBCIO::ioActive | ( | ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::ioActive().
virtual const char* XrdPosixCacheBCIO::Location | ( | ) | [inline, virtual] |
Get the file's location (i.e. endpoint hostname and port)
Reimplemented from XrdOucCacheIO2.
References cacheIO2, and XrdOucCacheIO2::Location().
virtual const char* XrdPosixCacheBCIO::Path | ( | ) | [inline, virtual] |
Implements XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::Path().
virtual void XrdPosixCacheBCIO::Preread | ( | aprParms & | Parms | ) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::Preread().
virtual void XrdPosixCacheBCIO::Preread | ( | long long | Offset, | |
int | Length, | |||
int | Opts = 0 | |||
) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::Preread().
virtual int XrdPosixCacheBCIO::Read | ( | char * | Buffer, | |
long long | Offset, | |||
int | Length | |||
) | [inline, virtual] |
Implements XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::Read().
virtual int XrdPosixCacheBCIO::ReadV | ( | const XrdOucIOVec * | readV, | |
int | n | |||
) | [inline, virtual] |
Reimplemented from XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::ReadV().
virtual int XrdPosixCacheBCIO::Sync | ( | ) | [inline, virtual] |
Implements XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::Sync().
virtual int XrdPosixCacheBCIO::Trunc | ( | long long | Offset | ) | [inline, virtual] |
Implements XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::Trunc().
virtual int XrdPosixCacheBCIO::Write | ( | char * | Buffer, | |
long long | Offset, | |||
int | Length | |||
) | [inline, virtual] |
Implements XrdOucCacheIO.
References cacheIO1, and XrdOucCacheIO::Write().
XrdOucCacheIO* XrdPosixCacheBCIO::cacheIO1 [private] |
XrdOucCacheIO2* XrdPosixCacheBCIO::cacheIO2 [private] |
Referenced by Base(), Detach(), Fstat(), and Location().