XrdFileCache::Block Class Reference

#include <XrdFileCacheFile.hh>

Collaboration diagram for XrdFileCache::Block:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Block (File *f, IO *io, long long off, int size, bool m_prefetch)
char * get_buff (long long pos=0)
int get_size ()
long long get_offset ()
IOget_io () const
bool is_finished ()
bool is_ok ()
bool is_failed ()
void set_downloaded ()
void set_error (int err)
void reset_error_and_set_io (IO *io)

Public Attributes

std::vector< char > m_buff
long long m_offset
Filem_file
IOm_io
int m_refcnt
int m_errno
bool m_downloaded
bool m_prefetch

Constructor & Destructor Documentation

XrdFileCache::Block::Block ( File f,
IO io,
long long  off,
int  size,
bool  m_prefetch 
) [inline]

References m_buff.


Member Function Documentation

char* XrdFileCache::Block::get_buff ( long long  pos = 0  )  [inline]

References m_buff.

IO* XrdFileCache::Block::get_io (  )  const [inline]

References m_io.

long long XrdFileCache::Block::get_offset (  )  [inline]

References m_offset.

int XrdFileCache::Block::get_size (  )  [inline]

References m_buff.

bool XrdFileCache::Block::is_failed (  )  [inline]

References m_errno.

bool XrdFileCache::Block::is_finished (  )  [inline]

References m_downloaded, and m_errno.

bool XrdFileCache::Block::is_ok (  )  [inline]

References m_downloaded.

void XrdFileCache::Block::reset_error_and_set_io ( IO io  )  [inline]

References m_errno, and m_io.

void XrdFileCache::Block::set_downloaded (  )  [inline]

References m_downloaded.

void XrdFileCache::Block::set_error ( int  err  )  [inline]

References m_errno.


Member Data Documentation

std::vector<char> XrdFileCache::Block::m_buff

Referenced by Block(), get_buff(), and get_size().

Referenced by is_finished(), is_ok(), and set_downloaded().

Referenced by get_io(), and reset_error_and_set_io().

Referenced by get_offset().


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

Generated on 15 Jul 2019 for xrootd by  doxygen 1.6.1