IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Selectors
editSelectors
editThe connection pool maintains the list of connections, and decides when nodes should transition from alive to dead (and vice versa). It has no logic to choose connections, however. That job belongs to the Selector class.
The selector’s job is to return a single connection from a provided array of connections. Like the Connection Pool, there are several implementations to choose from: