#include <outputHandlerDcap.h>
|
const std::string | path |
|
int | fd = -1 |
|
Protected Attributes inherited from ioHandle |
size_t | blockSize |
| in bytes, block size to be used when reading or writing More...
|
|
Definition at line 12 of file outputHandlerDcap.h.
◆ writerDcap()
outputHandler::dcap::writerDcap::writerDcap |
( |
const std::string & |
aPath, |
|
|
bool |
mightAppend, |
|
|
size_t |
sourceSize, |
|
|
size_t |
readBlockSize, |
|
|
copyRequest::stateType & |
state, |
|
|
bool |
noWrite, |
|
|
std::unique_ptr< acl::list > |
aAclData |
|
) |
| |
Definition at line 246 of file outputHandlerDcap.cpp.
259 std::string
options(
"-alloc-size=");
260 options += std::to_string(sourceSize);
261 dc_setExtraOption(
const_cast<char*
>(
options.c_str()));
265 auto openMode = O_CREAT | O_TRUNC | O_WRONLY;
269 -1,
"can't open ",
path,
" for writing");
References copyRequest::append, throwcall::dcap::badval(), ioHandle::blockSize, enumAsBitmask< T >::clear(), dcapIoCommon::fd, noChecksum, dcapIoCommon::path, outputHandler::dcap::setAclData(), and unsafeWrite.
◆ ~writerDcap()
outputHandler::dcap::writerDcap::~writerDcap |
( |
| ) |
|
|
overridenoexcept |
◆ closeAndRemoveBadCopy()
void outputHandler::dcap::writerDcap::closeAndRemoveBadCopy |
( |
| ) |
|
|
override |
◆ doAttributePreservations()
void outputHandler::dcap::writerDcap::doAttributePreservations |
( |
const genericStat & |
readInitialStat | ) |
|
|
override |
◆ sync()
void outputHandler::dcap::writerDcap::sync |
( |
| ) |
|
|
override |
◆ writeBlock()
void outputHandler::dcap::writerDcap::writeBlock |
( |
const block & |
b | ) |
|
|
override |
◆ noChecksum
◆ unsafeWrite
The documentation for this class was generated from the following files:
void emit(level aLogLevel, const location &loc, const std::string &aObject, const std::string &aAction, const Args &... args)
function to create and enqueue a message, this is the only way that messages should be created!