public final class MergePolicyProvider extends Object
MapMergePolicy
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 MapMergePolicy
.
If no merge policy matches an exception is thrown.
className
- the classname of the given merge policyCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.