Combines data access, locking, and garbage collection.
More...
#include <libpmemobj++/container/concurrent_hash_map.hpp>
|
using | value_type = const typename concurrent_hash_map::value_type |
| Type of value.
|
|
template<typename Key, typename T, typename Hash, typename KeyEqual, typename MutexType, typename ScopedLockType>
class pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::const_accessor
Combines data access, locking, and garbage collection.
◆ const_accessor()
template<typename Key , typename T , typename Hash , typename KeyEqual , typename MutexType , typename ScopedLockType >
Create empty result.
Cannot be used in a transaction.
◆ empty()
template<typename Key , typename T , typename Hash , typename KeyEqual , typename MutexType , typename ScopedLockType >
- Returns
- true if accessor does not hold any element, false otherwise.
◆ operator*()
template<typename Key , typename T , typename Hash , typename KeyEqual , typename MutexType , typename ScopedLockType >
- Returns
- reference to associated value in hash table.
◆ operator->()
template<typename Key , typename T , typename Hash , typename KeyEqual , typename MutexType , typename ScopedLockType >
- Returns
- pointer to associated value in hash table.
◆ release()
template<typename Key , typename T , typename Hash , typename KeyEqual , typename MutexType , typename ScopedLockType >
Release accessor.
Cannot be called inside of a transaction.
- Exceptions
-
The documentation for this class was generated from the following file: