Check if the current Sentinel configuration is able to reach the quorum needed to failover a master, and the majority needed to authorize the failover.
Check if the current Sentinel configuration is able to reach the quorum needed to failover a master, and the majority needed to authorize the failover.
Releases underlying service factory object
Releases underlying service factory object
Force a failover.
Force a failover.
Deletes all keys in all databases
Deletes all keys in all databases
Force Sentinel to rewrite its configuration on disk, including the current Sentinel state.
Force Sentinel to rewrite its configuration on disk, including the current Sentinel state.
Deletes all keys in current DB
Deletes all keys in current DB
Return the ip and port number of the master with that name.
Return the ip and port number of the master with that name. If a failover is in progress or terminated successfully for this master it returns the address and port of the promoted slave.
Returns information and statistics about the server
Returns information and statistics about the server
used to select a specific section of information.
a collection of \r\n terminated lines if server has info on the section
Returns information and statistics about the server
Returns information and statistics about the server
Buf with collection of \r\n terminated lines of the default info section
Show the state and info of the specified master.
Show the state and info of the specified master.
Show a list of monitored masters and their state.
Show a list of monitored masters and their state.
Tells the Sentinel to start monitoring a new master with the specified name, ip, port, and quorum.
Tells the Sentinel to start monitoring a new master with the specified name, ip, port, and quorum.
Remove the specified master.
Remove the specified master.
Reset all the masters with matching name.
Reset all the masters with matching name.
Show a list of sentinel instances for this master, and their state.
Show a list of sentinel instances for this master, and their state.
Change configuration parameters of a specific master.
Change configuration parameters of a specific master.
Show a list of slaves for this master, and their state.
Show a list of slaves for this master, and their state.