Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function.
Sets if the driver should connect even if no primary is available.
Turn on high availability monitoring.
Time between each replicaset status check.
Number of connections in the connection pool for each server instance, set to 5 as default for legacy reasons.
The name of the replicaset to connect to.
Sets the range of servers to pick when using NEAREST (lowest ping ms + the latency fence, ex: range of 1 to (1 + 15) ms).
Socket options.
Use ssl connection (needs to have a mongod server with ssl support).
Array of valid certificates either as Buffers or Strings (needs to have a mongod server with ssl support, 2.4 or higher).
String or buffer containing the certificate we wish to present (needs to have a mongod server with ssl support, 2.4 or higher).
String or buffer containing the certificate private key we wish to present (needs to have a mongod server with ssl support, 2.4 or higher).
String or buffer containing the certificate private key we wish to present (needs to have a mongod server with ssl support, 2.4 or higher).
Validate mongod server certificate against ca (needs to have a mongod server with ssl support, 2.4 or higher).
Generated using TypeDoc
Creates a new ReplSet instance.
http://mongodb.github.io/node-mongodb-native/2.1/api/ReplSet.html