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

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


    jredisConnFactory.afterPropertiesSet();

    StringRedisTemplate templateJS = new StringRedisTemplate(jedisConnFactory);
    StringRedisTemplate templateJR = new StringRedisTemplate(jredisConnFactory);

    StringObjectFactory sof = new StringObjectFactory();

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

    DefaultRedisSet setJS = new DefaultRedisSet("bound:key:set", templateJS);
View Full Code Here


*/
public class PubSubTestParams {

  public static Collection<Object[]> testParams() {
    // create Jedis Factory
    ObjectFactory<String> stringFactory = new StringObjectFactory();
    ObjectFactory<Person> personFactory = new PersonObjectFactory();

    JedisConnectionFactory jedisConnFactory = new JedisConnectionFactory();
    jedisConnFactory.setUsePool(true);
    jedisConnFactory.setPort(SettingsUtils.getPort());
View Full Code Here

TOP

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

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.