Examples of RedisAtomicInteger


Examples of org.springframework.data.keyvalue.redis.support.atomic.RedisAtomicInteger

    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 },
        { new RedisAtomicLong("bound:key:long", jedisConnFactory), sof, templateJS },
        { list, sof, templateJS }, { setJS, sof, templateJS }, { mapJS, sof, templateJS } });
  }
View Full Code Here

Examples of org.springframework.data.redis.support.atomic.RedisAtomicInteger

    RedisList listSRP = new DefaultRedisList("bound:key:listSRP", templateSRP);

    StringObjectFactory sof = new StringObjectFactory();

    return Arrays.asList(new Object[][] {
        { new RedisAtomicInteger("bound:key:int", jedisConnFactory), sof, templateJS },
        { new RedisAtomicLong("bound:key:long", jedisConnFactory), sof, templateJS }, { list, sof, templateJS },
        { setJS, sof, templateJS }, { mapJS, sof, templateJS },
        { new RedisAtomicInteger("bound:key:intJR", jredisConnFactory), sof, templateJR },
        { new RedisAtomicLong("bound:key:longJR", jredisConnFactory), sof, templateJR }, { mapJR, sof, templateJR },
        { new RedisAtomicInteger("bound:key:intLT", lettuceConnFactory), sof, templateLT },
        { new RedisAtomicLong("bound:key:longLT", lettuceConnFactory), sof, templateLT }, { listLT, sof, templateLT },
        { setLT, sof, templateLT }, { mapLT, sof, templateLT },
        { new RedisAtomicInteger("bound:key:intSrp", srpConnFactory), sof, templateSRP },
        { new RedisAtomicLong("bound:key:longSrp", srpConnFactory), sof, templateSRP }, { listSRP, sof, templateSRP },
        { setSRP, sof, templateSRP }, { mapSRP, sof, templateSRP } });
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.