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 void | Sync (XrdOucCacheIOCB &iocb) |
|
virtual void | Write (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wlen) |
|
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 int | Read (char *Buffer, long long Offset, int Length)=0 |
|
virtual int | ReadV (const XrdOucIOVec *readV, int n) |
|
virtual int | Sync ()=0 |
|
virtual int | Write (char *Buffer, long long Offset, int Length)=0 |
|
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.
◆ IO()
◆ Base()
◆ GetInput()
◆ GetPath()
const char* XrdFileCache::IO::GetPath |
( |
| ) |
|
|
inlineprotected |
◆ GetTrace()
◆ Path()
virtual const char* XrdFileCache::IO::Path |
( |
| ) |
|
|
inlinevirtual |
◆ SetInput()
◆ Sync() [1/2]
virtual int XrdFileCache::IO::Sync |
( |
| ) |
|
|
inlinevirtual |
◆ Sync() [2/2]
virtual void XrdOucCacheIO2::Sync |
|
inlinevirtual |
◆ Trunc()
virtual int XrdFileCache::IO::Trunc |
( |
long long |
Offset | ) |
|
|
inlinevirtual |
◆ Update()
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.
◆ Write() [1/2]
virtual int XrdFileCache::IO::Write |
( |
char * |
Buffer, |
|
|
long long |
Offset, |
|
|
int |
Length |
|
) |
| |
|
inlinevirtual |
◆ Write() [2/2]
virtual void XrdOucCacheIO2::Write |
|
inline |
◆ m_cache
Cache& XrdFileCache::IO::m_cache |
|
protected |
◆ m_io
◆ m_path
std::string XrdFileCache::IO::m_path |
|
protected |
◆ m_statsGlobal
reference to Cache statistics
◆ m_traceID
const char* XrdFileCache::IO::m_traceID |
|
protected |
◆ updMutex
The documentation for this class was generated from the following file: