Thrill  0.1
ReduceBucketHashTable< TableItem, Key, Value, KeyExtractor, ReduceFunction, Emitter, VolatileKey, ReduceConfig, IndexFunction, KeyEqualFunction >::BucketBlockPool Class Reference

Detailed Description

template<typename TableItem, typename Key, typename Value, typename KeyExtractor, typename ReduceFunction, typename Emitter, const bool VolatileKey, typename ReduceConfig, typename IndexFunction, typename KeyEqualFunction = std::equal_to<Key>>
class thrill::core::ReduceBucketHashTable< TableItem, Key, Value, KeyExtractor, ReduceFunction, Emitter, VolatileKey, ReduceConfig, IndexFunction, KeyEqualFunction >::BucketBlockPool

BucketBlockPool to stack allocated BucketBlocks.

Definition at line 552 of file reduce_bucket_hash_table.hpp.

#include <reduce_bucket_hash_table.hpp>

Public Member Functions

 BucketBlockPool ()=default
 
 BucketBlockPool (const BucketBlockPool &)=delete
 non-copyable: delete copy-constructor More...
 
 BucketBlockPool (BucketBlockPool &&)=default
 move-constructor: default More...
 
 ~BucketBlockPool ()
 
void Deallocate (BucketBlock *o)
 
void Destroy ()
 
BucketBlockGetBlock ()
 
BucketBlockPooloperator= (const BucketBlockPool &)=delete
 non-copyable: delete assignment operator More...
 
BucketBlockPooloperator= (BucketBlockPool &&)=default
 move-assignment operator: default More...
 

Private Attributes

std::stack< BucketBlock * > free
 

Constructor & Destructor Documentation

◆ BucketBlockPool() [1/3]

BucketBlockPool ( )
default

◆ BucketBlockPool() [2/3]

BucketBlockPool ( const BucketBlockPool )
delete

non-copyable: delete copy-constructor

◆ BucketBlockPool() [3/3]

BucketBlockPool ( BucketBlockPool &&  )
default

move-constructor: default

◆ ~BucketBlockPool()

~BucketBlockPool ( )
inline

Definition at line 566 of file reduce_bucket_hash_table.hpp.

Member Function Documentation

◆ Deallocate()

◆ Destroy()

◆ GetBlock()

◆ operator=() [1/2]

BucketBlockPool& operator= ( const BucketBlockPool )
delete

non-copyable: delete assignment operator

◆ operator=() [2/2]

BucketBlockPool& operator= ( BucketBlockPool &&  )
default

move-assignment operator: default

Member Data Documentation

◆ free

std::stack<BucketBlock*> free
private

Definition at line 603 of file reduce_bucket_hash_table.hpp.


The documentation for this class was generated from the following file: