Examples of RedisAtomicLong


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

    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.RedisAtomicLong

    this.template = template;
    valueOps = template.opsForValue();

    users = new DefaultRedisList<String>(KeyUtils.users(), template);
    timeline = new DefaultRedisList<String>(KeyUtils.timeline(), template);
    userIdCounter = new RedisAtomicLong(KeyUtils.globalUid(), template.getConnectionFactory());
    postIdCounter = new RedisAtomicLong(KeyUtils.globalPid(), template.getConnectionFactory());
  }
View Full Code Here

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

    this.template = template;
    valueOps = template.opsForValue();

    users = new DefaultRedisList<String>(KeyUtils.users(), template);
    timeline = new DefaultRedisList<String>(KeyUtils.timeline(), template);
    userIdCounter = new RedisAtomicLong(KeyUtils.globalUid(), template.getConnectionFactory());
    postIdCounter = new RedisAtomicLong(KeyUtils.globalPid(), template.getConnectionFactory());
  }
View Full Code Here

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

    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.