#include <StoreMap.h>
Public Types | |
typedef uint32_t | Size |
Public Member Functions | |
StoreMapSlice () | |
StoreMapSlice (const StoreMapSlice &o) | |
StoreMapSlice & | operator= (const StoreMapSlice &o) |
void | clear () |
restore default-constructed state More... | |
Public Attributes | |
std::atomic< Size > | size |
slice contents size More... | |
std::atomic< StoreMapSliceId > | next |
ID of the next entry slice. More... | |
Detailed Description
a piece of Store entry, linked to other pieces, forming a chain slices may be appended by writers while readers read the entry
Definition at line 28 of file StoreMap.h.
Member Typedef Documentation
◆ Size
typedef uint32_t Ipc::StoreMapSlice::Size |
Definition at line 31 of file StoreMap.h.
Constructor & Destructor Documentation
◆ StoreMapSlice() [1/2]
|
inline |
Definition at line 33 of file StoreMap.h.
◆ StoreMapSlice() [2/2]
|
inline |
Definition at line 34 of file StoreMap.h.
Member Function Documentation
◆ clear()
|
inline |
Definition at line 46 of file StoreMap.h.
Referenced by Ipc::StoreMap::freeChainAt().
◆ operator=()
|
inline |
Definition at line 39 of file StoreMap.h.
Member Data Documentation
◆ next
std::atomic<StoreMapSliceId> Ipc::StoreMapSlice::next |
Definition at line 49 of file StoreMap.h.
Referenced by StoreMapSlice(), clear(), Ipc::StoreMap::closeForUpdating(), MemStore::copyFromShm(), Rock::Rebuild::finalizeOrThrow(), Ipc::StoreMap::freeChainAt(), Rock::SwapDir::handleWriteCompletionSuccess(), Rock::Rebuild::mapSlot(), MemStore::nextAppendableSlice(), operator=(), and Ipc::StoreMap::sliceContaining().
◆ size
std::atomic<Size> Ipc::StoreMapSlice::size |
Definition at line 48 of file StoreMap.h.
Referenced by StoreMapSlice(), clear(), Ipc::StoreMap::closeForUpdating(), MemStore::copyFromShm(), ShmWriter::copyToShmSlice(), MemStore::copyToShmSlice(), Rock::Rebuild::finalizeOrThrow(), Rock::SwapDir::handleWriteCompletionSuccess(), Rock::Rebuild::mapSlot(), MemStore::nextAppendableSlice(), operator=(), Ipc::StoreMap::sliceContaining(), and MemStore::updateHeadersOrThrow().
The documentation for this class was generated from the following file:
- src/ipc/StoreMap.h