Lines Matching refs:selector
6 connections, however. That job belongs to the selector class.
8 The job of a selector is to return a single connection from a provided array of
16 This selector returns connections in a round-robin fashion. Node #1 is selected
37 This selector is "sticky", so that it prefers to reuse the same connection
40 failure, the selector will round-robin to the next available node, then "stick"
49 By default, this selector randomizes the hosts upon initialization which still
53 If you are using <<future_mode>>, the "sticky" behavior of this selector is
58 If you wish to use this selector, you may do so with:
73 This selector returns a random node, regardless of state. It is generally just
76 If you wish to use this selector, you may do so with:
90 You can implement your own custom selector. Custom selectors must implement
120 You can then use your custom selector either via object injection or namespace
141 $selector = '\Elasticsearch\ConnectionPool\Selectors\StickyRoundRobinSelector';
143 ->setSelector($selector)