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...
|
| | IOFileBlock (XrdOucCacheIO *io, Cache &cache) |
| |
| | ~IOFileBlock () |
| |
| bool | ioActive () override |
| | Abstract virtual method of XrdPfc::IO Called to check if destruction needs to be done in a separate task.
|
| |
| void | DetachFinalize () override |
| | Abstract virtual method of XrdPfc::IO Called to destruct the IO object after it is no longer used.
|
| |
| int | Read (char *Buffer, long long Offset, int Length) override |
| |
| int | Fstat (struct stat &sbuff) override |
| |
| long long | FSize () override |
| |
| void | Update (XrdOucCacheIO &iocp) override |
| |
| virtual int | Read (char *buff, long long offs, int rlen)=0 |
| | Pass Read request to the corresponding File object.
|
| |
| virtual void | Read (XrdOucCacheIOCB &iocb, char *buff, long long offs, int rlen) |
| | Pass Read request to the corresponding File object.
|
| |
| | IO (XrdOucCacheIO *io, Cache &cache) |
| |
| virtual XrdOucCacheIO * | Base () |
| | Original data source.
|
| |
| const char * | Path () override |
| | Original data source URL.
|
| |
| int | Sync () override |
| |
| int | Trunc (long long Offset) override |
| |
| int | Write (char *Buffer, long long Offset, int Length) override |
| |
| void | Update (XrdOucCacheIO &iocp) override |
| |
| bool | Detach (XrdOucCacheIOCD &iocdP) final |
| |
| virtual bool | ioActive ()=0 |
| |
| virtual void | DetachFinalize ()=0 |
| |
| const char * | GetLocation () |
| |
| XrdSysTrace * | GetTrace () |
| |
| XrdOucCacheIO * | GetInput () |
| |
| virtual int | Sync ()=0 |
| |
| virtual void | Sync (XrdOucCacheIOCB &iocb) |
| |
| virtual int | Trunc (long long offs)=0 |
| |
| virtual void | Trunc (XrdOucCacheIOCB &iocb, long long offs) |
| |
| virtual int | Write (char *buff, long long offs, int wlen)=0 |
| |
| virtual void | Write (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wlen) |
| |
| virtual bool | Detach (XrdOucCacheIOCD &iocd)=0 |
| |
| virtual long long | FSize ()=0 |
| |
| virtual int | Fstat (struct stat &sbuff) |
| |
| virtual const char * | Location (bool refresh=false) |
| |
| virtual const char * | Path ()=0 |
| |
| virtual int | pgRead (char *buff, long long offs, int rdlen, std::vector< uint32_t > &csvec, uint64_t opts=0, int *csfix=0) |
| |
| virtual void | pgRead (XrdOucCacheIOCB &iocb, char *buff, long long offs, int rdlen, std::vector< uint32_t > &csvec, uint64_t opts=0, int *csfix=0) |
| |
| virtual int | pgWrite (char *buff, long long offs, int wrlen, std::vector< uint32_t > &csvec, uint64_t opts=0, int *csfix=0) |
| |
| virtual void | pgWrite (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wrlen, std::vector< uint32_t > &csvec, uint64_t opts=0, int *csfix=0) |
| |
| virtual void | Preread (long long offs, int rlen, int opts=0) |
| |
| virtual void | Preread (aprParms &Parms) |
| |
| virtual int | Read (char *buff, long long offs, int rlen)=0 |
| |
| virtual void | Read (XrdOucCacheIOCB &iocb, char *buff, long long offs, int rlen) |
| |
| virtual int | ReadV (const XrdOucIOVec *readV, int rnum) |
| |
| virtual void | ReadV (XrdOucCacheIOCB &iocb, const XrdOucIOVec *readV, int rnum) |
| |
| virtual int | Sync ()=0 |
| |
| virtual void | Sync (XrdOucCacheIOCB &iocb) |
| |
| virtual int | Trunc (long long offs)=0 |
| |
| virtual void | Trunc (XrdOucCacheIOCB &iocb, long long offs) |
| |
| virtual void | Update (XrdOucCacheIO &iocp) |
| |
| virtual int | Write (char *buff, long long offs, int wlen)=0 |
| |
| virtual void | Write (XrdOucCacheIOCB &iocb, char *buff, long long offs, int wlen) |
| |
| virtual int | WriteV (const XrdOucIOVec *writV, int wnum) |
| |
| virtual void | WriteV (XrdOucCacheIOCB &iocb, const XrdOucIOVec *writV, int wnum) |
| |
| | XrdOucCacheIO () |
| | Construct and Destructor.
|
| |
Downloads original file into multiple files, chunked into blocks. Only blocks that are asked for are downloaded. Handles read requests as they come along.