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
SentinelReplication
switchToMaster
Predis\Connection\Aggregate\SentinelReplication::switchToMaster PHP Метод
Документация по классу SentinelReplication
Показать файл
Открыть проект
switchToMaster()
публичный
Метод
Switches to the master server.
public
switchToMaster
( )
public function switchToMaster() { $this->switchTo('master'); }
SentinelReplication
__construct
__sleep
add
assertConnectionRole
connect
createSentinelConnection
disconnect
executeCommand
getConnection
getConnectionById
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