public class ReplicatedMapSplitBrainHandlerService extends Object implements SplitBrainHandlerService
ReplicatedMap
Constructor and Description |
---|
ReplicatedMapSplitBrainHandlerService(ReplicatedMapService service,
MergePolicyProvider mergePolicyProvider) |
Modifier and Type | Method and Description |
---|---|
Runnable |
prepareMergeRunnable()
When the 2 separate clusters merge (resolve a split brain), this method is called to return
a Runnable that will merge the clusters.
|
public ReplicatedMapSplitBrainHandlerService(ReplicatedMapService service, MergePolicyProvider mergePolicyProvider)
public Runnable prepareMergeRunnable()
SplitBrainHandlerService
prepareMergeRunnable
in interface SplitBrainHandlerService
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.