ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
database_session_stats_t Struct Reference

The useful part of database session stats is in participants, host_ready, migrating: together they describe what is pending, who owns it, and how much data is valid. Keep the object with its parent operation and use the parent cleanup path. More...

#include <include/ascii-chat/discovery/database.h>

Data Fields

char session_string [64]
uint32_t participants
bool host_ready
bool migrating

Detailed Description

The useful part of database session stats is in participants, host_ready, migrating: together they describe what is pending, who owns it, and how much data is valid. Keep the object with its parent operation and use the parent cleanup path.

Active-session snapshot for statistics; rows are copied and truncated to capacity.

Definition at line 285 of file database.h.

Field Documentation

◆ host_ready

bool database_session_stats_t::host_ready

Definition at line 288 of file database.h.

Referenced by database_stats_snapshot().

◆ migrating

bool database_session_stats_t::migrating

Definition at line 289 of file database.h.

Referenced by database_stats_snapshot().

◆ participants

uint32_t database_session_stats_t::participants

Definition at line 287 of file database.h.

Referenced by database_stats_snapshot().

◆ session_string

char database_session_stats_t::session_string[64]

Definition at line 286 of file database.h.

Referenced by database_stats_snapshot().


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