Class DefaultSQLRecoveryStrategy

    • Constructor Detail

      • DefaultSQLRecoveryStrategy

        public DefaultSQLRecoveryStrategy​(ConfigIntf config)
    • Method Detail

      • getInitialBackoffSeconds

        protected int getInitialBackoffSeconds()
      • getBackoffIncreaseFactor

        protected double getBackoffIncreaseFactor()
      • getMaxBackoffSeconds

        protected int getMaxBackoffSeconds()
      • mergeDBSpecificWithCommonErrorCodes

        protected static java.util.Map<Config.DatabaseName,​java.util.Set<java.lang.Integer>> mergeDBSpecificWithCommonErrorCodes​(ConfigIntf config,
                                                                                                                                       java.util.function.Function<Config.DatabaseName,​java.lang.String> errorCodesKeyForDB)
      • recoverableErrorCodesKey

        protected static final java.lang.String recoverableErrorCodesKey​(Config.DatabaseName name)
      • nonRecoverableErrorCodesKey

        protected static final java.lang.String nonRecoverableErrorCodesKey​(Config.DatabaseName name)
      • toSetOfInts

        protected static java.util.Set<java.lang.Integer> toSetOfInts​(java.lang.String intsToSplit)