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