redis.clients.jedis.commands.ControlCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.commands;
import java.util.List;
import java.util.Map;
/**
* The interface about Redis management command
*/
public interface ControlCommands extends AccessControlLogCommands, ClientCommands {
/**
* Provide information on the role of a Redis instance in the context of replication,
* by returning if the instance is currently a master, slave, or sentinel. The command
* also returns additional information about the state of the replication
* (if the role is master or slave) or the list of monitored master names (if the role is sentinel).
*
* @return The information on the role of a Redis instance
*/
List