Package akka.cluster
Class JoinConfigCompatChecker
- java.lang.Object
- 
- akka.cluster.JoinConfigCompatChecker
 
- 
- Direct Known Subclasses:
- JoinConfigCompatCheckCluster,- JoinConfigCompatCheckSharding
 
 public abstract class JoinConfigCompatChecker extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description JoinConfigCompatChecker()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ConfigValidationcheck(com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig)Runs the Config check.static ConfigValidationexists(scala.collection.immutable.Seq<java.lang.String> requiredKeys, com.typesafe.config.Config toCheck)Checks that allrequiredKeysare available intoCheckConfig.static ConfigValidationfullMatch(scala.collection.immutable.Seq<java.lang.String> requiredKeys, com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig)Checks that allrequiredKeysare available intoCheckConfig and its values match exactly the values incurrentConfig.abstract scala.collection.immutable.Seq<java.lang.String>requiredKeys()The configuration keys that are required for this checker
 
- 
- 
- 
Method Detail- 
existspublic static ConfigValidation exists(scala.collection.immutable.Seq<java.lang.String> requiredKeys, com.typesafe.config.Config toCheck) Checks that allrequiredKeysare available intoCheckConfig.- Parameters:
- requiredKeys- - a Seq of required keys
- toCheck- - the Config instance to be checked
 
 - 
fullMatchpublic static ConfigValidation fullMatch(scala.collection.immutable.Seq<java.lang.String> requiredKeys, com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig) Checks that allrequiredKeysare available intoCheckConfig and its values match exactly the values incurrentConfig.- Parameters:
- requiredKeys- - a Seq of required keys
- toCheck- - the Config instance to be checked
- actualConfig- - the Config instance containing the expected values
 
 - 
requiredKeyspublic abstract scala.collection.immutable.Seq<java.lang.String> requiredKeys() The configuration keys that are required for this checker
 - 
checkpublic abstract ConfigValidation check(com.typesafe.config.Config toCheck, com.typesafe.config.Config actualConfig) 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.existsandJoinConfigCompatChecker.fullMatch- Parameters:
- toCheck- - the Config instance to be checked
- actualConfig- - the Config instance containing the actual values
- Returns:
- a ConfigValidation. Can beValidorInvalid, the later must contain a descriptive list of error messages.
 
 
- 
 
-