Package org.springframework.data.redis

Examples of org.springframework.data.redis.DoubleAsStringObjectFactory


        String.class);

    // create Jedis Factory
    ObjectFactory<String> stringFactory = new StringObjectFactory();
    ObjectFactory<String> longFactory = new LongAsStringObjectFactory();
    ObjectFactory<String> doubleFactory = new DoubleAsStringObjectFactory();

    JedisConnectionFactory jedisConnFactory = new JedisConnectionFactory();
    jedisConnFactory.setUsePool(true);

    jedisConnFactory.setPort(SettingsUtils.getPort());
View Full Code Here


    defaultPoolConfig.setMaxActive(1000);

    // create Jedis Factory
    ObjectFactory<String> stringFactory = new StringObjectFactory();
    ObjectFactory<Person> personFactory = new PersonObjectFactory();
    ObjectFactory<String> doubleFactory = new DoubleAsStringObjectFactory();
    ObjectFactory<String> longFactory = new LongAsStringObjectFactory();
    ObjectFactory<byte[]> rawFactory = new RawObjectFactory();

    JedisConnectionFactory jedisConnFactory = new JedisConnectionFactory();
    jedisConnFactory.getPoolConfig().setMaxTotal(defaultPoolConfig.getMaxTotal());
View Full Code Here

TOP

Related Classes of org.springframework.data.redis.DoubleAsStringObjectFactory

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.