Base cache-io class that implements XrdOucCacheIO abstract methods.
More...
#include <XrdFileCacheIO.hh>
|
| IO (XrdOucCacheIO2 *io, XrdOucCacheStats &stats, Cache &cache) |
|
virtual XrdOucCacheIO * | Base () |
| Original data source. More...
|
|
virtual const char * | Path () |
| Original data source URL. More...
|
|
virtual int | Sync () |
|
virtual int | Trunc (long long Offset) |
|
virtual int | Write (char *Buffer, long long Offset, int Length) |
|
virtual void | Update (XrdOucCacheIO2 &iocp) |
|
XrdSysTrace * | GetTrace () |
|
XrdOucCacheIO2 * | GetInput () |
|
virtual int | Fstat (struct stat &sbuff) |
|
virtual const char * | Location () |
|
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 | Write (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wlen) |
|
virtual | ~XrdOucCacheIO2 () |
|
virtual long long | FSize ()=0 |
|
virtual int | Read (char *Buffer, long long Offset, int Length)=0 |
|
virtual int | ReadV (const XrdOucIOVec *readV, int n) |
|
virtual XrdOucCacheIO * | Detach () |
|
virtual bool | ioActive () |
|
virtual void | Preread (long long Offset, int Length, int Opts=0) |
|
virtual void | Preread (aprParms &Parms) |
|
virtual | ~XrdOucCacheIO () |
|
Base cache-io class that implements XrdOucCacheIO abstract methods.
const char* XrdFileCache::IO::GetPath |
( |
| ) |
|
|
inlineprotected |
virtual const char* XrdFileCache::IO::Path |
( |
| ) |
|
|
inlinevirtual |
virtual int XrdFileCache::IO::Sync |
( |
| ) |
|
|
inlinevirtual |
virtual int XrdFileCache::IO::Trunc |
( |
long long |
Offset | ) |
|
|
inlinevirtual |
Update the originally passed XrdOucCacheIO2 object with the object passed. All future uses underlying XrdOucCacheIO2 object must now use this object. Update() is called when Prepare() indicated that the file should not be physically opened and a file method was invoked in the XrdOucCacheIO2 passed to Attach(). When this occurs, the file is actually opened and Update() called to replace the original XrdOucCacheIO2 object with one that uses the newly opened file.
- Parameters
-
Reimplemented from XrdOucCacheIO2.
virtual int XrdFileCache::IO::Write |
( |
char * |
Buffer, |
|
|
long long |
Offset, |
|
|
int |
Length |
|
) |
| |
|
inlinevirtual |
Cache& XrdFileCache::IO::m_cache |
|
protected |
std::string XrdFileCache::IO::m_path |
|
protected |
reference to Cache statistics
const char* XrdFileCache::IO::m_traceID |
|
protected |
The documentation for this class was generated from the following file: