Class lockfree::hashmap¶
ClassList > lockfree > hashmap
#include <lockfree_hashmap.hpp>
Classes¶
| Type | Name |
|---|---|
| class | iterator |
Public Functions¶
| Type | Name |
|---|---|
| void | activate_stats () |
| void | clear (tran::index tran_index) |
| void | deactivate_stats () |
| void | destroy () |
| void | dump_stats (std::ostream & os) const |
| void | end_tran (tran::index tran_index) |
| bool | erase (tran::index tran_index, Key & key) |
| bool | erase_locked (tran::index tran_index, Key & key, T *& locked_entry) |
| T * | find (tran::index tran_index, Key & key) |
| bool | find_or_insert (tran::index tran_index, Key & key, T *& entry) |
| T * | freelist_claim (tran::index tran_index) |
| void | freelist_retire (tran::index tran_index, T *& entry) |
| size_t | get_alloc_element_count () const |
| size_t | get_element_count () const |
| size_t | get_size () const |
| hashmap () |
|
| void | init (tran::system & transys, size_t hash_size, size_t freelist_block_size, size_t freelist_block_count, lf_entry_descriptor & edesc) |
| bool | insert (tran::index tran_index, Key & key, T *& entry) |
| bool | insert_given (tran::index tran_index, Key & key, T *& entry) |
| void | start_tran (tran::index tran_index) |
| void | unlock (tran::index tran_index, T *& entry) |
| ~hashmap () |
Public Functions Documentation¶
function activate_stats¶
function clear¶
function deactivate_stats¶
function destroy¶
function dump_stats¶
function end_tran¶
function erase¶
function erase_locked¶
function find¶
function find_or_insert¶
function freelist_claim [1/2]¶
function freelist_retire [1/2]¶
function get_alloc_element_count¶
function get_element_count¶
function get_size¶
function hashmap¶
function init¶
void lockfree::hashmap::init (
tran::system & transys,
size_t hash_size,
size_t freelist_block_size,
size_t freelist_block_count,
lf_entry_descriptor & edesc
)
function insert¶
function insert_given¶
function start_tran¶
function unlock¶
function ~hashmap¶
The documentation for this class was generated from the following file cubrid/src/base/lockfree_hashmap.hpp