Squid Web Cache master
Loading...
Searching...
No Matches
Ipc::StoreMapSlice Class Reference

#include <StoreMap.h>

Collaboration diagram for Ipc::StoreMapSlice:
[legend]

Public Types

typedef uint32_t Size
 

Public Member Functions

 StoreMapSlice ()
 
 StoreMapSlice (const StoreMapSlice &o)
 
StoreMapSliceoperator= (const StoreMapSlice &o)
 
void clear ()
 restore default-constructed state
 

Public Attributes

std::atomic< Sizesize
 slice contents size
 
std::atomic< StoreMapSliceIdnext
 ID of the next entry slice.
 

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]

Ipc::StoreMapSlice::StoreMapSlice ( )
inline

Definition at line 33 of file StoreMap.h.

◆ StoreMapSlice() [2/2]

Ipc::StoreMapSlice::StoreMapSlice ( const StoreMapSlice o)
inline

Definition at line 34 of file StoreMap.h.

References next, and size.

Member Function Documentation

◆ clear()

void Ipc::StoreMapSlice::clear ( )
inline

Definition at line 46 of file StoreMap.h.

References next, and size.

Referenced by Ipc::StoreMap::freeChainAt().

◆ operator=()

StoreMapSlice & Ipc::StoreMapSlice::operator= ( const StoreMapSlice o)
inline

Definition at line 39 of file StoreMap.h.

References next, and size.

Member Data Documentation

◆ next

◆ size


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