|
PMDK C++ bindings
1.13.0
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Type representing persistent data, which may be managed by mpsc_queue. More...
#include <libpmemobj++/experimental/mpsc_queue.hpp>
Public Member Functions | |
| pmem_log_type (size_t size) | |
| Constructs pmem_log_type object. More... | |
| pmem::obj::string_view | data () |
| Returns pmem::obj::string_view which allows to read-only access to the underlying buffer. More... | |
Type representing persistent data, which may be managed by mpsc_queue.
Object of this type has to be managed by pmem::obj::pool, to be usable in mpsc_queue. Once created, pmem_log_type object cannot be resized.
| size | size of the log. |
| pmem::obj::experimental::mpsc_queue::pmem_log_type::pmem_log_type | ( | size_t | size | ) |
Constructs pmem_log_type object.
| size | size of the log in bytes |
|
inline |
Returns pmem::obj::string_view which allows to read-only access to the underlying buffer.