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

Method setRetryInterval

lib/php/lib/Transport/TSocketPool.php:145–148  ·  view source on GitHub ↗

* Sets how long to wait until retrying a host if it was marked down * * @param int $numRetries */

($retryInterval)

Source from the content-addressed store, hash-verified

143 * @param int $numRetries
144 */
145 public function setRetryInterval($retryInterval)
146 {
147 $this->retryInterval_ = $retryInterval;
148 }
149
150 /**
151 * Sets how many time to keep retrying a host before marking it as down.

Callers 2

testrSetRetryIntervalMethod · 0.45
testOpenMethod · 0.45

Calls

no outgoing calls

Tested by 2

testrSetRetryIntervalMethod · 0.36
testOpenMethod · 0.36