Package org.apache.pekko.cluster
Class JoinConfigCompatCheckCluster
- java.lang.Object
-
- org.apache.pekko.cluster.JoinConfigCompatChecker
-
- org.apache.pekko.cluster.JoinConfigCompatCheckCluster
-
public final class JoinConfigCompatCheckCluster extends JoinConfigCompatChecker
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description JoinConfigCompatCheckCluster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigValidationcheck(com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig)Runs the Config check.scala.collection.immutable.Seq<java.lang.String>requiredKeys()The configuration keys that are required for this checker-
Methods inherited from class org.apache.pekko.cluster.JoinConfigCompatChecker
exists, fullMatch
-
-
-
-
Method Detail
-
requiredKeys
public scala.collection.immutable.Seq<java.lang.String> requiredKeys()
Description copied from class:JoinConfigCompatCheckerThe configuration keys that are required for this checker- Specified by:
requiredKeysin classJoinConfigCompatChecker
-
check
public ConfigValidation check(com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig)
Description copied from class:JoinConfigCompatCheckerRuns the Config check.Implementers are free to define what makes Config entry compatible or not. We do provide some pre-build checks tough:
JoinConfigCompatChecker.existsandJoinConfigCompatChecker.fullMatch- Specified by:
checkin classJoinConfigCompatChecker- Parameters:
toCheck- - the Config instance to be checkedactualConfig- - the Config instance containing the actual values- Returns:
- a
ConfigValidation. Can beValidorInvalid, the later must contain a descriptive list of error messages.
-
-