public final class MergePolicyValidator extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | checkMergePolicySupportsInMemoryFormat(String name,
                                      Object mergePolicy,
                                      InMemoryFormat inMemoryFormat,
                                      boolean failFast,
                                      ILogger logger)Checks if the given  InMemoryFormatcan be merged by the givenmergePolicyinstance. | 
public static boolean checkMergePolicySupportsInMemoryFormat(String name, Object mergePolicy, InMemoryFormat inMemoryFormat, boolean failFast, ILogger logger)
InMemoryFormat can be merged by the given
 mergePolicy instance.
 
 When a wrong policy is detected, it does one of two things:
 if failFast is true and the cluster version is 3.10 or later,
 it throws an InvalidConfigurationException, otherwise it logs a warning.
true if the given inMemoryFormat can be merged by
 the supplied mergePolicy, false otherwiseCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.