DATAREDIS-330 - Add support for SENTINEL commands.

add support for commands:
  SENTINEL FAILOVER master
  SENTINEL SLAVES master
  SENTINEL REMOVE name
  SENTINEL MONITOR name ip port quorum

Original pull request: #92.
This commit is contained in:
Christoph Strobl
2014-07-21 21:09:10 +02:00
committed by Thomas Darimont
parent 55ff415a71
commit fd361a1868
29 changed files with 2071 additions and 48 deletions

View File

@@ -222,6 +222,8 @@ public RedisConnectionFactory jedisConnectionFactory() {
return new JedisConnectionFactory(sentinelConfig);
}
]]></programlisting>
<para>Sometimes direct interaction with the one of the Sentinels is required. Using <classname>RedisConnectionFactory.getSentinelConnection()</classname> or
<classname>RedisConnection.getSentinelCommands()</classname> gives you access to the first active Sentinel configured.</para>
</section>
<section id="redis:template">