A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
a11::stores::LocalChunkStore::State::ReadRequest Struct Reference

Public Member Functions

 ReadRequest (ReadKind read_kind, std::uint64_t read_value)
 
bool TryClaim ()
 

Public Attributes

ReadKind kind
 
std::uint64_t value
 
std::atomic< boolcompleted = false
 
a11::Promise< data::NodeFragmentpromise
 

Constructor & Destructor Documentation

◆ ReadRequest()

a11::stores::LocalChunkStore::State::ReadRequest::ReadRequest ( ReadKind  read_kind,
std::uint64_t  read_value 
)
inline

Member Function Documentation

◆ TryClaim()

bool a11::stores::LocalChunkStore::State::ReadRequest::TryClaim ( )
inline

Member Data Documentation

◆ completed

std::atomic<bool> a11::stores::LocalChunkStore::State::ReadRequest::completed = false

◆ kind

ReadKind a11::stores::LocalChunkStore::State::ReadRequest::kind

◆ promise

a11::Promise<data::NodeFragment> a11::stores::LocalChunkStore::State::ReadRequest::promise

◆ value

std::uint64_t a11::stores::LocalChunkStore::State::ReadRequest::value

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