Class JoinConfigCompatCheckSharding
java.lang.Object
org.apache.pekko.cluster.JoinConfigCompatChecker
org.apache.pekko.cluster.sharding.JoinConfigCompatCheckSharding
INTERNAL API
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pekko.cluster.JoinConfigCompatChecker
exists, fullMatch
-
Constructor Details
-
JoinConfigCompatCheckSharding
public JoinConfigCompatCheckSharding()
-
-
Method Details
-
check
public ConfigValidation check(com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig) Description copied from class:JoinConfigCompatChecker
Runs the Config check.Implementers are free to define what makes Config entry compatible or not. We do provide some pre-build checks tough:
JoinConfigCompatChecker.exists
andJoinConfigCompatChecker.fullMatch
- Specified by:
check
in classJoinConfigCompatChecker
- Parameters:
toCheck
- - the Config instance to be checkedactualConfig
- - the Config instance containing the actual values- Returns:
- a
ConfigValidation
. Can beValid
orInvalid
, the later must contain a descriptive list of error messages.
-
requiredKeys
Description copied from class:JoinConfigCompatChecker
The configuration keys that are required for this checker- Specified by:
requiredKeys
in classJoinConfigCompatChecker
-