public final class MergePolicyProvider extends Object
ReplicatedMapMergePolicy
instances.Constructor and Description |
---|
MergePolicyProvider(NodeEngine nodeEngine) |
Modifier and Type | Method and Description |
---|---|
Object |
getMergePolicy(String className)
Returns an instance of a merge policy by its classname.
|
public MergePolicyProvider(NodeEngine nodeEngine)
public Object getMergePolicy(String className)
First tries to resolve the classname as SplitBrainMergePolicy
,
then as ReplicatedMapMergePolicy
.
If no merge policy matches an exception is thrown.
className
- the classname of the given merge policyCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.