XrdFileCache::IOFileBlock Class Reference
Downloads original file into multiple files, chunked into blocks. Only blocks that are asked for are downloaded. Handles read requests as they come along.
More...
#include <XrdFileCacheIOFileBlock.hh>
List of all members.
Detailed Description
Downloads original file into multiple files, chunked into blocks. Only blocks that are asked for are downloaded. Handles read requests as they come along.
Constructor & Destructor Documentation
XrdFileCache::IOFileBlock::~IOFileBlock |
( |
|
) |
|
Member Function Documentation
void XrdFileCache::IOFileBlock::CloseInfoFile |
( |
|
) |
[private] |
virtual XrdOucCacheIO* XrdFileCache::IOFileBlock::Detach |
( |
|
) |
[virtual] |
virtual long long XrdFileCache::IOFileBlock::FSize |
( |
|
) |
[virtual] |
virtual int XrdFileCache::IOFileBlock::Fstat |
( |
struct stat & |
sbuff |
) |
[virtual] |
Perform an fstat() operation (defaults to passthrough).
- Parameters:
-
| sbuff | reference to the stat buffer to be filled in. Only fields st_size, st_blocks, st_mtime (st_atime and st_ctime may be set to st_mtime), st_ino, and st_mode need to be set. All other fields are preset and should not be changed. |
- Returns:
- <0 - fstat failed, value is -errno. =0 - fstat succeeded, sbuff holds stat information. >0 - fstat could not be done, forward operation to next level.
Reimplemented from XrdOucCacheIO2.
void XrdFileCache::IOFileBlock::GetBlockSizeFromPath |
( |
|
) |
[private] |
int XrdFileCache::IOFileBlock::initLocalStat |
( |
|
) |
[private] |
virtual bool XrdFileCache::IOFileBlock::ioActive |
( |
|
) |
[virtual] |
Virtual method of XrdOucCacheIO. Called to check if destruction needs to be done in a separate task.
Reimplemented from XrdOucCacheIO.
File* XrdFileCache::IOFileBlock::newBlockFile |
( |
long long |
off, |
|
|
int |
blocksize | |
|
) |
| | [private] |
virtual int XrdFileCache::IOFileBlock::Read |
( |
char * |
Buffer, |
|
|
long long |
Offset, |
|
|
int |
Length | |
|
) |
| | [virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: