Package org.springframework.data.redis.connection

Examples of org.springframework.data.redis.connection.RedisServer


   * @see DATAREDIS-330
   */
  @Test
  public void monitorShouldBeSentCorrectly() {

    RedisServer server = new RedisServer("127.0.0.1", 6382);
    server.setName("anothermaster");
    server.setQuorum(3L);

    connection.monitor(server);
    verify(jedisMock, times(1)).sentinelMonitor(eq("anothermaster"), eq("127.0.0.1"), eq(6382), eq(3));
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.redis.connection.RedisServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.