XrdFileCache::IO Class Reference

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

#include <XrdFileCache.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 (XrdOucCacheIO &io, XrdOucCacheStats &stats, Cache &cache)
virtual XrdOucCacheIOBase ()
 Original data source.
virtual long long FSize ()
 Original data source URL.
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 StartPrefetch ()

Protected Member Functions

XrdCl::Log * clLog () const

Protected Attributes

XrdOucCacheIOm_io
 original data source
XrdOucCacheStatsm_statsGlobal
 reference to Cache statistics
Cachem_cache
 reference to Cache needed in detach

Friends

class Prefetch

Detailed Description

Base cache-io class that implements XrdOucCacheIO abstract methods.


Constructor & Destructor Documentation

XrdFileCache::IO::IO ( XrdOucCacheIO io,
XrdOucCacheStats stats,
Cache cache 
) [inline]


Member Function Documentation

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

Original data source.

Reimplemented from XrdOucCacheIO.

XrdCl::Log* XrdFileCache::IO::clLog (  )  const [inline, protected]

virtual long long XrdFileCache::IO::FSize (  )  [inline, virtual]

Original data source URL.

Implements XrdOucCacheIO.

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

Original data source URL.

Implements XrdOucCacheIO.

virtual void XrdFileCache::IO::StartPrefetch (  )  [inline, virtual]

Reimplemented in XrdFileCache::IOEntireFile.

virtual int XrdFileCache::IO::Sync (  )  [inline, virtual]

Implements XrdOucCacheIO.

virtual int XrdFileCache::IO::Trunc ( long long  Offset  )  [inline, virtual]

Implements XrdOucCacheIO.

virtual int XrdFileCache::IO::Write ( char *  Buffer,
long long  Offset,
int  Length 
) [inline, virtual]

Implements XrdOucCacheIO.


Friends And Related Function Documentation

friend class Prefetch [friend]


Member Data Documentation

Cache& XrdFileCache::IO::m_cache [protected]

reference to Cache needed in detach

XrdOucCacheIO& XrdFileCache::IO::m_io [protected]

original data source

XrdOucCacheStats& XrdFileCache::IO::m_statsGlobal [protected]

reference to Cache statistics


The documentation for this class was generated from the following file:
Generated on 5 Oct 2016 for xrootd by  doxygen 1.4.7