[jboss-dev-forums] [Design of JBossCache] - Re: Reactivating SharedStoreCacheLoader

galder.zamarreno@jboss.com do-not-reply at jboss.com
Wed Jul 26 15:22:19 EDT 2006


I have almost finished implementing this but I've encountered a minor problem.

Let's say that Cache A assumed the role of the coordinator and started to push the state to the cache loader. In the middle of that, if the cache is stopped, the thread which is pushing the state throws an InterruptedException. 

This seems to be the result of channel.close() being called. How could we get around it? Any ideas?

This could happen quite often if the new coordinator had a different location configured for the cache loader compared to the previous coordinator and therefore, a state push would require the entire memory state to be pushed down.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961112#3961112

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961112



More information about the jboss-dev-forums mailing list