ewmscp
..
|
#include <inputHandlerDavix.h>
Public Member Functions | |
readerDavix (davixCommon &aHandler, const std::string &aPath, copyRequest::stateType &state, const genericStat &inititalStat) | |
~readerDavix () noexcept(false) override | |
bool | readBlock (block &b) override |
void | readBlockP (block &b, size_t bytesToRead, off_t offset) override |
bool | parallelizable () const override |
tell if this handler is capable of parallel IO. Unsually not the case More... | |
void | checkUnchangedness () override |
![]() | |
davixIoCommon (const std::string &aPath, davixCommon &aHandler) | |
std::unique_ptr< const genericStat > | getStat () override |
![]() | |
ioHandle () | |
virtual | ~ioHandle () noexcept(false) |
virtual void | setXattr (const std::string &, const std::string &) |
virtual std::string | getXattr (const std::string &) |
get one extended attribute value More... | |
virtual void | removeXattr (const std::string &) |
virtual size_t | getBlockSize () const |
virtual void | setBlockSize (size_t newSize) |
virtual std::unique_ptr< attrDataType > | getAttrData (const outputHandler::base *) |
get attributes in the optimal way for setting with aOutputHandler More... | |
virtual std::unique_ptr< acl::list > | getAclData () |
get acls More... | |
Additional Inherited Members | |
![]() | |
const std::string & | path |
davixCommon & | handler |
DAVIX_FD * | fd |
![]() | |
size_t | blockSize |
in bytes, block size to be used when reading or writing More... | |
Definition at line 16 of file inputHandlerDavix.h.
inputHandler::davix::readerDavix::readerDavix | ( | davixCommon & | aHandler, |
const std::string & | aPath, | ||
copyRequest::stateType & | state, | ||
const genericStat & | inititalStat | ||
) |
Definition at line 60 of file inputHandlerDavix.cpp.
References ioHandle::blockSize, davixIoCommon::fd, davixIoCommon::handler, davixCommon::params, davixIoCommon::path, davixCommon::posix, errorReport::throwUp(), and copyRequest::vanished.
|
overridenoexcept |
Definition at line 76 of file inputHandlerDavix.cpp.
References errMsg::debug, errMsg::emit(), errorReport::getMessage(), and errorReport::throwUp().
|
override |
Definition at line 158 of file inputHandlerDavix.cpp.
|
overridevirtual |
tell if this handler is capable of parallel IO. Unsually not the case
Reimplemented from ioHandle.
Definition at line 129 of file inputHandlerDavix.cpp.
|
override |
Definition at line 92 of file inputHandlerDavix.cpp.
References block::bufferAt(), block::bump_size(), block::clear(), block::max_size(), readRateLimit, block::size(), errorReport::throwUp(), timerInst, throttle::watch::update(), and throttle::watch::wait().
|
override |
Definition at line 133 of file inputHandlerDavix.cpp.
References block::bufferAt(), block::bump_size(), block::clear(), block::max_size(), block::size(), errorReport::throwUp(), and timerInst.