Does JBoss Cache have any configurable failover mechanism? E.g. is it possible to specify what has to happen when several TreeCaches with their own local datastores get disconnected? I am asking this since I want to use JBoss Cache in a fairly unstable networking environment. Does the underlying JGroups merge offer any facilites for failover?
You can implement the TreeCacheListener and catch view changes. A merge would be handled by checking for MergeView instead of View, and merge states back into 1 state.
A state merge policy based approach is on the roadmap