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

Method setNumRetries

lib/php/lib/Transport/TSocketPool.php:135–138  ·  view source on GitHub ↗

* Sets how many time to keep retrying a host in the connect function. * * @param int $numRetries */

($numRetries)

Source from the content-addressed store, hash-verified

133 * @param int $numRetries
134 */
135 public function setNumRetries($numRetries)
136 {
137 $this->numRetries_ = $numRetries;
138 }
139
140 /**
141 * Sets how long to wait until retrying a host if it was marked down

Callers 2

testSetNumRetriesMethod · 0.45
testOpenMethod · 0.45

Calls

no outgoing calls

Tested by 2

testSetNumRetriesMethod · 0.36
testOpenMethod · 0.36