redis.clients.jedis.commands.ControlBinaryCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis Show documentation
Show all versions of jedis Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.commands;
import java.util.List;
/**
* The interface about Redis management command
*/
public interface ControlBinaryCommands extends AccessControlLogBinaryCommands, ClientBinaryCommands {
/**
* 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