Xapian::ReplicationInfo Struct Reference

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

#include <replication.h>

List of all members.

Public Member Functions

 ReplicationInfo ()
void clear ()

Public Attributes

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


Detailed Description

Information about the steps involved in performing a replication.

Definition at line 34 of file replication.h.


Constructor & Destructor Documentation

Xapian::ReplicationInfo::ReplicationInfo (  )  [inline]

Definition at line 48 of file replication.h.


Member Function Documentation

void Xapian::ReplicationInfo::clear (  )  [inline]


Member Data Documentation

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 46 of file replication.h.

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


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

Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.