PMDK C++ bindings  1.13.0-git23.gf49772ac
This is the C++ bindings documentation for PMDK's libpmemobj.
Public Member Functions | List of all members
pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::serial_bucket_accessor Class Reference

Serial bucket accessor used to access bucket in a serial operations. More...

#include <libpmemobj++/container/concurrent_hash_map.hpp>

Public Member Functions

bool is_writer () const
 This method is added for consistency with bucket_accessor class. More...
 
bucket * get () const
 Get bucket pointer. More...
 
bucket * operator-> () const
 Overloaded arrow operator. More...
 

Detailed Description

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 >::serial_bucket_accessor

Serial bucket accessor used to access bucket in a serial operations.

Member Function Documentation

◆ get()

template<typename Key , typename T , typename Hash , typename KeyEqual , typename MutexType , typename ScopedLockType >
bucket* pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::serial_bucket_accessor::get ( ) const
inline

Get bucket pointer.

Returns
pointer to the bucket

◆ is_writer()

template<typename Key , typename T , typename Hash , typename KeyEqual , typename MutexType , typename ScopedLockType >
bool pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::serial_bucket_accessor::is_writer ( ) const
inline

This method is added for consistency with bucket_accessor class.

Returns
Always returns true

◆ operator->()

template<typename Key , typename T , typename Hash , typename KeyEqual , typename MutexType , typename ScopedLockType >
bucket* pmem::obj::concurrent_hash_map< Key, T, Hash, KeyEqual, MutexType, ScopedLockType >::serial_bucket_accessor::operator-> ( ) const
inline

Overloaded arrow operator.

Returns
pointer to the underlying bucket

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