读书人

Ehcache配备分布式缓存

发布时间: 2012-08-31 12:55:03 作者: rapoo

Ehcache配置分布式缓存
Ehcache配置分布式集群缓存(udp多播方式为例)
--------------------
<Ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../main/config/ehcache.xsd">
<diskStore path="java.io.tmpdir/one"/>
<cacheManagerPeerProviderFactory />
</cache>
</ehcache>
<Ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../main/config/ehcache.xsd">
<diskStore path="java.io.tmpdir/one"/>
<cacheManagerPeerProviderFactory />
</cache>
</ehcache>



http://www.ehcache.org/documentation/user-guide/jgroups-replicated-caching

http://www.chineselinuxuniversity.net/articles/33704.shtml

读书人网 >Web前端

热点推荐