Package akka.cluster
Class JoinConfigCompatCheckCluster
- java.lang.Object
-
- akka.cluster.JoinConfigCompatChecker
-
- akka.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 ConfigValidation
check(com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig)
Runs the Config check.scala.collection.immutable.Seq<java.lang.String>
requiredKeys()
-
Methods inherited from class akka.cluster.JoinConfigCompatChecker
exists, filterWithKeys, fullMatch, load, removeSensitiveKeys, removeSensitiveKeys
-
-
-
-
Method Detail
-
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: {@link JoinConfigCompatChecker.exists()} and {@link JoinConfigCompatChecker.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
public scala.collection.immutable.Seq<java.lang.String> requiredKeys()
- Specified by:
requiredKeys
in classJoinConfigCompatChecker
-
-