LiteCore
Couchbase Lite cross-platform core implementation
Loading...
Searching...
No Matches
Data Fields
C4Progress Struct Reference

Represents the current progress of a replicator. More...

#include <c4ReplicatorTypes.h>

Data Fields

uint64_t unitsCompleted
 Abstract number of work units completed so far.
 
uint64_t unitsTotal
 Total number of work units (a very rough approximation)
 
uint64_t documentCount
 Number of documents transferred so far.
 

Detailed Description

Represents the current progress of a replicator.

The units fields should not be used directly, but divided (unitsCompleted/unitsTotal) to give a very approximate progress fraction.

Field Documentation

◆ documentCount

uint64_t C4Progress::documentCount

Number of documents transferred so far.

◆ unitsCompleted

uint64_t C4Progress::unitsCompleted

Abstract number of work units completed so far.

◆ unitsTotal

uint64_t C4Progress::unitsTotal

Total number of work units (a very rough approximation)


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