public final class SplitBrainMergePolicyProvider extends Object
SplitBrainMergePolicy
instances.
Registers out-of-the-box merge policies by their fully qualified and simple class name.
Constructor and Description |
---|
SplitBrainMergePolicyProvider(NodeEngine nodeEngine)
Constructs a new provider for
SplitBrainMergePolicy classes. |
Modifier and Type | Method and Description |
---|---|
SplitBrainMergePolicy |
getMergePolicy(String className)
Resolves the
SplitBrainMergePolicy class by its classname. |
public SplitBrainMergePolicyProvider(NodeEngine nodeEngine)
SplitBrainMergePolicy
classes.nodeEngine
- the NodeEngine
to retrieve the classloader frompublic SplitBrainMergePolicy getMergePolicy(String className)
SplitBrainMergePolicy
class by its classname.className
- the merge policy classname to resolveSplitBrainMergePolicy
classInvalidConfigurationException
- when the classname could not be resolvedCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.