Class JoinConfigCompatCheckSharding

    • 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()
      The configuration keys that are required for this checker
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JoinConfigCompatCheckSharding

        public JoinConfigCompatCheckSharding()
    • 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: JoinConfigCompatChecker.exists and JoinConfigCompatChecker.fullMatch

        Specified by:
        check in class JoinConfigCompatChecker
        Parameters:
        toCheck - - the Config instance to be checked
        actualConfig - - the Config instance containing the actual values
        Returns:
        a ConfigValidation. Can be Valid or Invalid, the later must contain a descriptive list of error messages.