Base cache-io class that implements XrdOucCacheIO abstract methods. More...
#include <XrdFileCacheIO.hh>
Public Member Functions | |
IO (XrdOucCacheIO2 *io, XrdOucCacheStats &stats, Cache &cache) | |
virtual XrdOucCacheIO * | Base () |
Original data source. | |
virtual const char * | Path () |
Original data source URL. | |
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 () |
Protected Member Functions | |
const char * | GetPath () |
Protected Attributes | |
XrdOucCacheStats & | m_statsGlobal |
reference to Cache statistics | |
Cache & | m_cache |
reference to Cache needed in detach | |
const char * | m_traceID |
std::string | m_path |
Private Member Functions | |
void | SetInput (XrdOucCacheIO2 *) |
Private Attributes | |
XrdOucCacheIO2 * | m_io |
original data source | |
XrdSysMutex | updMutex |
Base cache-io class that implements XrdOucCacheIO abstract methods.
XrdFileCache::IO::IO | ( | XrdOucCacheIO2 * | io, | |
XrdOucCacheStats & | stats, | |||
Cache & | cache | |||
) |
virtual XrdOucCacheIO* XrdFileCache::IO::Base | ( | ) | [inline, virtual] |
XrdOucCacheIO2* XrdFileCache::IO::GetInput | ( | ) |
const char* XrdFileCache::IO::GetPath | ( | ) | [inline, protected] |
References m_path.
XrdSysTrace* XrdFileCache::IO::GetTrace | ( | ) | [inline] |
References XrdFileCache::Cache::GetTrace(), and m_cache.
virtual const char* XrdFileCache::IO::Path | ( | ) | [inline, virtual] |
void XrdFileCache::IO::SetInput | ( | XrdOucCacheIO2 * | ) | [private] |
virtual int XrdFileCache::IO::Sync | ( | ) | [inline, virtual] |
Implements XrdOucCacheIO.
virtual int XrdFileCache::IO::Trunc | ( | long long | Offset | ) | [inline, virtual] |
Implements XrdOucCacheIO.
virtual void XrdFileCache::IO::Update | ( | XrdOucCacheIO2 & | iocp | ) | [virtual] |
virtual int XrdFileCache::IO::Write | ( | char * | Buffer, | |
long long | Offset, | |||
int | Length | |||
) | [inline, virtual] |
Implements XrdOucCacheIO.
Cache& XrdFileCache::IO::m_cache [protected] |
reference to Cache needed in detach
Referenced by GetTrace().
XrdOucCacheIO2* XrdFileCache::IO::m_io [private] |
std::string XrdFileCache::IO::m_path [protected] |
Referenced by GetPath().
XrdOucCacheStats& XrdFileCache::IO::m_statsGlobal [protected] |
reference to Cache statistics
const char* XrdFileCache::IO::m_traceID [protected] |
XrdSysMutex XrdFileCache::IO::updMutex [private] |