
缓存
文章平均质量分 58
纷飞_easy
这个作者很懒,什么都没留下…
展开
-
spring配置中的context:property-placeholder
spring配置中的<context:property-placeholder /> 在使用spring整合redis的过程中,使用 <context:property-placeholder location="classpath:redis.properties" /> 读取配置文件,使用一下代码配置redis <bean id="je原创 2018-09-05 14:35:10 · 3271 阅读 · 2 评论 -
Spring 整合redis-注解式缓存使用配置
一、 redis连接属性文件redis.properties redis.host=127.0.0.1 redis.port=6379 redis.pool.maxTotal=105 redis.pool.maxIdle=10 redis.pool.maxWaitMillis=5000 redis.pool.testOnBorrow=true 二、spring-redis.xml 加载r...原创 2018-09-06 10:27:16 · 1418 阅读 · 2 评论