rpm  5.4.15
Data Fields
mongo_replica_set Struct Reference

#include <rpmio/mongo.h>

Collaboration diagram for mongo_replica_set:
Collaboration graph
[legend]

Data Fields

mongo_host_portseeds
 List of seeds provided by the user. More...
 
mongo_host_porthosts
 List of host/ports given by the replica set. More...
 
char * name
 Name of the replica set. More...
 
bson_bool_t primary_connected
 Primary node connection status. More...
 

Detailed Description

Definition at line 181 of file mongo.h.

Field Documentation

mongo_host_port* mongo_replica_set::hosts
char* mongo_replica_set::name

Name of the replica set.

Definition at line 184 of file mongo.h.

Referenced by mongo_destroy(), mongo_replica_set_check_host(), and mongo_replica_set_init().

bson_bool_t mongo_replica_set::primary_connected

Primary node connection status.

Definition at line 185 of file mongo.h.

Referenced by mongo_disconnect(), mongo_reconnect(), mongo_replica_set_check_host(), mongo_replica_set_client(), and mongo_replica_set_init().

mongo_host_port* mongo_replica_set::seeds

List of seeds provided by the user.

Definition at line 182 of file mongo.h.

Referenced by mongo_destroy(), mongo_replica_set_add_seed(), mongo_replica_set_client(), mongo_replica_set_init(), and mongo_replset_add_seed().


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