Package org.springframework.data.redis.support.collections

Examples of org.springframework.data.redis.support.collections.RedisStore


    return fb.getObject();
  }

  @Test
  public void testNone() throws Exception {
    RedisStore store = createCollection("nosrt", CollectionType.PROPERTIES);
    assertThat(store, instanceOf(RedisProperties.class));

    store = createCollection("nosrt", CollectionType.MAP);
    assertThat(store, instanceOf(DefaultRedisMap.class));
View Full Code Here


  public void testExistingCol() throws Exception {
    String key = "set";
    String val = "value";

    template.boundSetOps(key).add(val);
    RedisStore col = createCollection(key);
    assertThat(col, instanceOf(DefaultRedisSet.class));

    key = "map";
    template.boundHashOps(key).put(val, val);
    col = createCollection(key);
View Full Code Here

TOP

Related Classes of org.springframework.data.redis.support.collections.RedisStore

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.