xapian-core
1.4.27
|
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... | |
Information about the steps involved in performing a replication.
Definition at line 33 of file replication.h.
|
inline |
Definition at line 47 of file replication.h.
|
inline |
Definition at line 53 of file replication.h.
Referenced by Xapian::DatabaseReplica::apply_next_changeset(), and Xapian::DatabaseMaster::write_changesets_to_fd().
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().
int Xapian::ReplicationInfo::changeset_count |
Number of changesets applied.
Definition at line 35 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().
int Xapian::ReplicationInfo::fullcopy_count |
Number of times a full database copy was performed.
Definition at line 38 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().