MCPcopy Create free account
hub / github.com/apache/thrift / setRandomize

Method setRandomize

lib/php/lib/Transport/TSocketPool.php:165–168  ·  view source on GitHub ↗

* Turns randomization in connect order on or off. * * @param bool $randomize */

($randomize)

Source from the content-addressed store, hash-verified

163 * @param bool $randomize
164 */
165 public function setRandomize($randomize)
166 {
167 $this->randomize_ = $randomize;
168 }
169
170 /**
171 * Whether to always try the last server.

Callers 2

testrSetRandomizeMethod · 0.45
testOpenMethod · 0.45

Calls

no outgoing calls

Tested by 2

testrSetRandomizeMethod · 0.36
testOpenMethod · 0.36