Package com.mongodb.selector
@NonNullApi
package com.mongodb.selector
Contains classes that determine how to select the server to connect to in order to send commands or queries.
-
ClassDescriptionA server selector that composes a list of server selectors, and selects the servers by iterating through the list from start to finish, passing the result of the previous into the next, and finally returning the result of the last one.An interface for selecting a server from a cluster according to some preference.