public final class CacheMergePolicyProvider extends Object
CacheMergePolicy
instances.Constructor and Description |
---|
CacheMergePolicyProvider(NodeEngine nodeEngine) |
Modifier and Type | Method and Description |
---|---|
Object |
getMergePolicy(String className)
Returns an instance of a merge policy by its classname.
|
public CacheMergePolicyProvider(NodeEngine nodeEngine)
public Object getMergePolicy(String className)
First tries to resolve the classname as SplitBrainMergePolicy
,
then as CacheMergePolicy
.
If no merge policy matches an InvalidConfigurationException
is thrown.
className
- the classname of the given merge policyInvalidConfigurationException
- if no matching merge policy class was foundCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.