1 #ifndef __XRDFILECACHE_IO_FILE_BLOCK_HH__
2 #define __XRDFILECACHE_IO_FILE_BLOCK_HH__
62 virtual int Read(
char *Buffer,
long long Offset,
int Length);
Downloads original file into multiple files, chunked into blocks. Only blocks that are asked for are ...
Definition: XrdFileCacheIOFileBlock.hh:39
virtual XrdOucCacheIO * Detach()
Definition: XrdFileCache.hh:30
Definition: XrdOucCache.hh:158
void GetBlockSizeFromPath()
std::map< int, Prefetch * > m_blocks
map of created blocks
Definition: XrdFileCacheIOFileBlock.hh:70
virtual bool ioActive()
Virtual method of XrdOucCacheIO. Called to check if destruction needs to be done in a separate task...
XrdSysMutex m_mutex
map mutex
Definition: XrdFileCacheIOFileBlock.hh:71
Definition: XrdSysError.hh:87
Downloads data into a file on local disk and handles IO read requests.
Definition: XrdFileCachePrefetch.hh:42
Definition: XrdSysPthread.hh:140
Base cache-io class that implements XrdOucCacheIO abstract methods.
Definition: XrdFileCache.hh:125
Prefetch * newBlockPrefetcher(long long off, int blocksize, XrdOucCacheIO *io)
long long m_blocksize
size of file-block
Definition: XrdFileCacheIOFileBlock.hh:69
IOFileBlock(XrdOucCacheIO &io, XrdOucCacheStats &stats, Cache &cache)
Constructor.
~IOFileBlock()
Destructor.
Definition: XrdFileCacheIOFileBlock.hh:50
Definition: XrdOucCache.hh:93
virtual int Read(char *Buffer, long long Offset, int Length)
Pass Read request to the corresponding Prefetch object.
Attaches/creates and detaches/deletes cache-io objects for disk based cache.
Definition: XrdFileCache.hh:39