memcached//Distributed data cache

memcached//Distributed data cache
web.xml
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:applicationContext*.xml,classpath*:spring-memcache.xml
</ param-value>
    </context-param>
1, first install and configure the cache service
2, configure in the web program:
memcached.properties
spring-memcache.xml
applicationContext.xml
MemcachedUtils.java
The actual application is to put it in Memcached through the key value to get, put

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326950379&siteId=291194637
Recommended