Thrill
0.1
|
#include <file.hpp>
Public Member Functions | |
FileBlockSink () | |
FileBlockSink (tlx::CountingPtrNoDelete< File > file) | |
FileBlockSink (const FileBlockSink &)=default | |
default copy-constructor More... | |
~FileBlockSink () | |
FileBlockSink & | operator= (const FileBlockSink &)=default |
default assignment operator More... | |
Methods of a BlockSink | |
void | AppendBlock (const Block &b, bool is_last_block) final |
void | AppendBlock (Block &&b, bool is_last_block) final |
void | Close () final |
Closes the sink. Must not be called multiple times. More... | |
Public Member Functions inherited from BlockSink | |
BlockSink (BlockPool &block_pool, size_t local_worker_id) | |
constructor with reference to BlockPool More... | |
BlockSink (BlockPool *block_pool, size_t local_worker_id) | |
constructor with reference to BlockPool More... | |
BlockSink (const BlockSink &)=default | |
default copy-constructor More... | |
BlockSink (BlockSink &&)=default | |
move-constructor: default More... | |
virtual | ~BlockSink () |
required virtual destructor More... | |
virtual PinnedByteBlockPtr | AllocateByteBlock (size_t block_size) |
virtual void | AppendPinnedBlock (PinnedBlock &&b, bool is_last_block) |
Appends the PinnedBlock. More... | |
BlockPool * | block_pool () const |
Returns block_pool_. More... | |
size_t | local_worker_id () const |
local worker id to associate pinned block with More... | |
common::JsonLogger & | logger () |
Returns BlockPool.logger_. More... | |
BlockSink & | operator= (const BlockSink &)=default |
default assignment operator More... | |
BlockSink & | operator= (BlockSink &&)=default |
move-assignment operator: default More... | |
virtual void | ReleaseByteBlock (ByteBlockPtr &block) |
Release an unused ByteBlock with n bytes backing memory. More... | |
size_t | workers_per_host () const |
return number of workers per host More... | |
Private Attributes | |
tlx::CountingPtrNoDelete< File > | file_ |
Static Private Attributes | |
static constexpr bool | debug = false |
Additional Inherited Members | |
Static Public Attributes inherited from BlockSink | |
static constexpr bool | allocate_can_fail_ = false |
Protected Attributes inherited from BlockSink | |
size_t | local_worker_id_ |
local worker id to associate pinned block with More... | |
|
inline |
|
inlineexplicit |
Definition at line 299 of file file.hpp.
References LOG, and File::operator=().
|
default |
default copy-constructor
|
inline |
|
inlinefinalvirtual |
|
inlinefinalvirtual |
|
inlinefinalvirtual |
|
default |
default assignment operator
|
private |