xapian-core  1.4.20
Public Member Functions | Public Attributes | List of all members
Xapian::ReplicationInfo Struct Reference

Information about the steps involved in performing a replication. More...

#include <replication.h>

Public Member Functions

 ReplicationInfo ()
 
void clear ()
 

Public Attributes

int changeset_count
 Number of changesets applied. More...
 
int fullcopy_count
 Number of times a full database copy was performed. More...
 
bool changed
 True if and only if the replication corresponds to a change in the live version of the database. More...
 

Detailed Description

Information about the steps involved in performing a replication.

Definition at line 33 of file replication.h.

Constructor & Destructor Documentation

◆ ReplicationInfo()

Xapian::ReplicationInfo::ReplicationInfo ( )
inline

Definition at line 47 of file replication.h.

Member Function Documentation

◆ clear()

void Xapian::ReplicationInfo::clear ( )
inline

Member Data Documentation

◆ changed

bool Xapian::ReplicationInfo::changed

True if and only if the replication corresponds to a change in the live version of the database.

Note that this may be false even if changeset_count and fullcopy_count are non-zero, since the changes may have been made to a non-live copy of the database.

Definition at line 45 of file replication.h.

Referenced by apply_changeset(), Xapian::DatabaseReplica::Internal::apply_next_changeset(), get_changeset(), main(), GlassDatabase::write_changesets_to_fd(), and ChertDatabase::write_changesets_to_fd().

◆ changeset_count

int Xapian::ReplicationInfo::changeset_count

◆ fullcopy_count

int Xapian::ReplicationInfo::fullcopy_count

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