|
From: <gal...@jb...> - 2006-06-26 17:29:51
|
Basically, when a node which has control over the singleton cache loader dies or leaves the cluster, another node needs to take the responsability for updating this cache loader. Now, this cache loader could be in a different machine or there could be updates in between the old node crashing and the new node taking over the role of the coordinator. pushStateWhenCoordinator makes the new coordinator dump the entire in-memory state into the cache store so that it contains a true reflection of what's in memory. Looking at the code, it seems like _getState can actually return all the in-memory state. The cache loader would then call storeEntireState(byte[] state) on the underlying cache loader. However, I'm not sure whether about _getState and some of the parameters. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953502#3953502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953502 |