Class | Mongo::PoolManager |
In: |
lib/mongo/util/pool_manager.rb
|
Parent: | Object |
arbiters | [R] | |
client | [R] | |
hosts | [R] | |
max_bson_size | [R] | |
members | [R] | |
nodes | [R] | |
primary | [R] | |
primary_pool | [R] | |
secondaries | [R] | |
secondary_pool | [R] | |
secondary_pools | [R] | |
seeds | [R] |
Create a new set of connection pools.
The pool manager will by default use the original seed list passed to the connection objects, accessible via connection.seeds. In addition, the user may pass an additional list of seeds nodes discovered in real time. The union of these lists will be used when attempting to connect, with the newly-discovered nodes being used first.