Package org.springframework.data.redis.connection

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


  }

  @Test
  public void testZAddSameScores() {
    Set<StringTuple> strTuples = new HashSet<StringTuple>();
    strTuples.add(new DefaultStringTuple("Bob".getBytes(), "Bob", 2.0));
    strTuples.add(new DefaultStringTuple("James".getBytes(), "James", 2.0));
    Long added = connection.zAdd("myset", strTuples);
    assertEquals(2L, added.longValue());
  }
View Full Code Here

TOP

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

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.