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

Examples of org.springframework.data.keyvalue.redis.support.collections.DefaultRedisSet


    StringObjectFactory sof = new StringObjectFactory();

    DefaultRedisMap mapJS = new DefaultRedisMap("bound:key:map", templateJS);

    DefaultRedisSet setJS = new DefaultRedisSet("bound:key:set", templateJS);

    RedisList list = new DefaultRedisList("bound:key:list", templateJS);

    return Arrays.asList(new Object[][] {
        { new RedisAtomicInteger("bound:key:int", jedisConnFactory), sof, templateJS },
View Full Code Here


    super(factory, template);
  }

  @Override
  RedisStore copyStore(RedisStore store) {
    return new DefaultRedisSet(store.getKey().toString(), store.getOperations());
  }
View Full Code Here

  }

  @Override
  AbstractRedisCollection<Object> createCollection() {
    String redisName = getClass().getName();
    return new DefaultRedisSet(redisName, template);
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.keyvalue.redis.support.collections.DefaultRedisSet

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.