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

galder.zamarreno@jboss.com do-not-reply at jboss.com
Thu Jul 20 12:50:49 EDT 2006


I'm coding the state transfer so that I use cache's get() methods to get the in-memory state and call put on the cache loader (this will happen just before I set the cache loader as "active" (meaning it's the singleton). By doing this, this get methods won't make calls to the underlying cache loader).

Secondly, how shall we treat exceptions thrown during this state transfer? Shall we just log them as errors? These calls happen inside TreeCacheListener.viewChange() so it's either that or throw a RuntimeException.


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

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



More information about the jboss-dev-forums mailing list