#include <XrdFileCacheFile.hh>
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 () |
IO * | get_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 |
File * | m_file |
IO * | m_io |
int | m_refcnt |
int | m_errno |
bool | m_downloaded |
bool | m_prefetch |
References m_buff.
char* XrdFileCache::Block::get_buff | ( | long long | pos = 0 |
) | [inline] |
References m_buff.
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::set_downloaded | ( | ) | [inline] |
References m_downloaded.
void XrdFileCache::Block::set_error | ( | int | err | ) | [inline] |
References m_errno.
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 is_failed(), is_finished(), reset_error_and_set_io(), and set_error().
Referenced by get_io(), and reset_error_and_set_io().
long long XrdFileCache::Block::m_offset |
Referenced by get_offset().