ark::logging::LogWriterEventBuffer
Defined in header “ark/logging/stages/log_writer_message_queue.hh”.
A event buffer this stores some number of messages, only placing them (or allowing them) on the primary queue if the buffer is “enabled”.
Methods
- bool enabled(LoggingClock::time_point now)
Returns true if this buffer is enabled, or false otherwise.
Variables
-
std::vector< QueuedObjectPtr > objects
The queue of objects currently on the buffer. -
std::optional< LoggingClock::time_point > enabled_until
The time that the queue is enabled until. If not set, queue is initially disabled. -
std::chrono::nanoseconds storage_time= {}
Maximum time to store the objects.