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

Examples of org.springframework.data.redis.support.collections.RedisCollectionFactoryBean


  private RedisStore createCollection(String key) {
    return createCollection(key, null);
  }

  private RedisStore createCollection(String key, CollectionType type) {
    RedisCollectionFactoryBean fb = new RedisCollectionFactoryBean();
    fb.setKey(key);
    fb.setTemplate(template);
    fb.setType(type);
    fb.afterPropertiesSet();

    return fb.getObject();
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.redis.support.collections.RedisCollectionFactoryBean

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.