memcached//分布式数据缓存

memcached//分布式数据缓存
web.xml
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:applicationContext*.xml,classpath*:spring-memcache.xml
</param-value>
    </context-param>
1,首先安装配置好缓存服务
2,在web程序中配置:
memcached.properties
spring-memcache.xml
applicationContext.xml
MemcachedUtils.java
实际应用就是放在Memcached中通过键值对获取,放入

猜你喜欢

转载自yuhuiblog6338999322098842.iteye.com/blog/2216531
今日推荐