All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.commands.SentinelCommands Maven / Gradle / Ivy

package redis.clients.jedis.commands;

import java.util.List;
import java.util.Map;

public interface SentinelCommands {

  String sentinelMyId();

  List> sentinelMasters();

  Map sentinelMaster(String masterName);

  List> sentinelSentinels(String masterName);

  List sentinelGetMasterAddrByName(String masterName);

  Long sentinelReset(String pattern);

  /**
   * @deprecated Use {@link SentinelCommands#sentinelReplicas(java.lang.String)}.
   */
  @Deprecated
  List> sentinelSlaves(String masterName);

  List> sentinelReplicas(String masterName);

  String sentinelFailover(String masterName);

  String sentinelMonitor(String masterName, String ip, int port, int quorum);

  String sentinelRemove(String masterName);

  String sentinelSet(String masterName, Map parameterMap);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy