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
Replication
SentinelReplication
getConnectionById
Predis\Connection\Replication\SentinelReplication::getConnectionById PHP Метод
Документация по классу SentinelReplication
Показать файл
Открыть проект
getConnectionById()
публичный
Метод
public
getConnectionById
(
$id
)
public function getConnectionById($id) { if (isset($this->pool[$id])) { return $this->pool[$id]; } }
SentinelReplication
__construct
__sleep
add
assertConnectionRole
connect
createSentinelConnection
disconnect
executeCommand
getConnectionByCommand
getConnectionById
getConnectionByRole
getConnectionInternal
getCurrent
getMaster
getReplicationStrategy
getSentinelConnection
getSlaves
handleSentinelErrorResponse
isConnected
pickSlave
querySentinel
querySentinelForMaster
querySentinelForSlaves
readResponse
remove
reset
retryCommandOnFailure
setRetryLimit
setRetryWait
setSentinelTimeout
setUpdateSentinels
switchTo
switchToMaster
switchToSlave
updateSentinels
wipeServerList
writeRequest