XrdFileCache::IO Class Reference

Base cache-io class that implements XrdOucCacheIO abstract methods. More...

#include <XrdFileCacheIO.hh>

Inheritance diagram for XrdFileCache::IO:
Inheritance graph
[legend]
Collaboration diagram for XrdFileCache::IO:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IO (XrdOucCacheIO2 *io, XrdOucCacheStats &stats, Cache &cache)
virtual XrdOucCacheIOBase ()
 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)
XrdSysTraceGetTrace ()
XrdOucCacheIO2GetInput ()

Protected Member Functions

const char * GetPath ()

Protected Attributes

XrdOucCacheStatsm_statsGlobal
 reference to Cache statistics
Cachem_cache
 reference to Cache needed in detach
const char * m_traceID
std::string m_path

Private Member Functions

void SetInput (XrdOucCacheIO2 *)

Private Attributes

XrdOucCacheIO2m_io
 original data source
XrdSysMutex updMutex

Detailed Description

Base cache-io class that implements XrdOucCacheIO abstract methods.


Constructor & Destructor Documentation

XrdFileCache::IO::IO ( XrdOucCacheIO2 io,
XrdOucCacheStats stats,
Cache cache 
)

Member Function Documentation

virtual XrdOucCacheIO* XrdFileCache::IO::Base (  )  [inline, virtual]

Original data source.

Reimplemented from XrdOucCacheIO.

References m_io.

XrdOucCacheIO2* XrdFileCache::IO::GetInput (  ) 
const char* XrdFileCache::IO::GetPath (  )  [inline, protected]

References m_path.

XrdSysTrace* XrdFileCache::IO::GetTrace (  )  [inline]
virtual const char* XrdFileCache::IO::Path (  )  [inline, virtual]

Original data source URL.

Implements XrdOucCacheIO.

References m_io, and XrdOucCacheIO::Path().

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.


Member Data Documentation

reference to Cache needed in detach

Referenced by GetTrace().

original data source

Referenced by Base(), and Path().

std::string XrdFileCache::IO::m_path [protected]

Referenced by GetPath().

reference to Cache statistics

const char* XrdFileCache::IO::m_traceID [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for xrootd by  doxygen 1.6.1