forked from redis/jedis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'introduce-new-sentinel-commands-added-to-Redis-2.8' of …
…github.com:HeartSaVioR/jedis into HeartSaVioR-introduce-new-sentinel-commands-added-to-Redis-2.8
- Loading branch information
Showing
8 changed files
with
258 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package redis.clients.jedis; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
public interface SentinelCommands { | ||
public List<Map<String, String>> sentinelMasters(); | ||
|
||
public List<String> sentinelGetMasterAddrByName(String masterName); | ||
|
||
public Long sentinelReset(String pattern); | ||
|
||
public List<Map<String, String>> sentinelSlaves(String masterName); | ||
|
||
public String sentinelFailover(String masterName); | ||
|
||
public String sentinelMonitor(String masterName, String ip, int port, int quorum); | ||
|
||
public String sentinelRemove(String masterName); | ||
|
||
public String sentinelSet(String masterName, Map<String, String> parameterMap); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.