Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Predis
Connection
Aggregate
RedisCluster
setRetryLimit
Predis\Connection\Aggregate\RedisCluster::setRetryLimit PHP Метод
Документация по классу RedisCluster
Показать файл
Открыть проект
setRetryLimit()
публичный
Метод
-1 = unlimited retry attempts 0 = no retry attempts (fails immediatly) n = fail only after n retry attempts
public
setRetryLimit
(
integer
$retry
)
$retry
integer
Number of retry attempts.
public function setRetryLimit($retry) { $this->retryLimit = (int) $retry; }
RedisCluster
__construct
add
askSlotsMap
buildSlotsMap
connect
count
createConnection
disconnect
executeCommand
getClusterStrategy
getConnection
getConnectionById
getConnectionBySlot
getConnectionFactory
getIterator
getRandomConnection
getSlotsMap
guessNode
isConnected
move
onAskResponse
onErrorResponse
onMovedResponse
queryClusterNodeForSlotsMap
readResponse
remove
removeById
resetSlotsMap
retryCommandOnFailure
setRetryLimit
setSlots
useClusterSlots
writeRequest