EHC ❯ JGroups implementation of Bootstrap cache loader
-
Bug
-
Status: Closed
-
3 Minor
-
Resolution: Fixed
-
ehcache-jgroupsreplication
-
-
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
July 27, 2012
-
August 30, 2010
Description
I am using ehcache(ehcache-1.5.0.jar) with JGroups support for distributed caching. Given below are some of the configurations that I have done to support JGroups distributed caching including bootstrap cache loader.
<cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory"
properties="connect=UDP(mcast_addr=xxx.xxx.xxx.xxx;mcast_port=xxxx;):PING:
MERGE2:FD_SOCK:VERIFY_SUSPECT:pbcast.NAKACK:UNICAST:pbcast.STABLE:FRAG:pbcast.GMS"/>
<cache name="sampleCache"
maxElementsInMemory="100"
maxElementsOnDisk="100"
eternal="false"
overflowToDisk="true"
timeToIdleSeconds="0"
timeToLiveSeconds="600"
diskSpoolBufferSizeMB="10"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="120"
>
<cacheEventListenerFactory class="net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory">
properties="replicateAsynchronously=false, replicatePuts=true,
replicateUpdates=true, replicateUpdatesViaCopy=true,
replicateRemovals=true"/>
<bootstrapCacheLoaderFactory class="JGroupsBootstrapCacheLoaderFactory"
properties="bootstrapAsynchronously=false,
maximumChunkSizeBytes=5000000"/>
</cache>
I have provided implementations for BootstrapCacheLoaderFactory & BootstrapCacheLoader and the same is configured above. Are there any other implementations that I need to provide or any other configurations that I need to make to use bootstrap cache loader using JGroups implementation?
I found one more issue while looking at the source file JGroupManager.java. Many of the method implementations return null or do not have any implementation. Has this been fixed? Is there an updated patch release with these implementations?
Sourceforge Ticket ID: 2376175 - Opened By: rakesh_davanum - 2 Dec 2008 08:39 UTC
Comments
Fiona OShea 2010-01-06
gluck 2010-08-30
ehcache-jgroupsreplication version 1.4 in trunk now and expected to be released October 2010 will fix this issue.
Assigning these issues to Greg, so that he can decide what to do with them.