Class RandomDataSourceRecoverThread

  • All Implemented Interfaces:
    Runnable

    public class RandomDataSourceRecoverThread
    extends Object
    implements Runnable
    A Thread trying to test if DataSource in blacklist has been recovered.
    Author:
    DigitalSonic
    • Field Detail

      • DEFAULT_RECOVER_INTERVAL_SECONDS

        public static final int DEFAULT_RECOVER_INTERVAL_SECONDS
        See Also:
        Constant Field Values
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • getRecoverIntervalSeconds

        public int getRecoverIntervalSeconds()
      • setRecoverIntervalSeconds

        public void setRecoverIntervalSeconds​(int recoverIntervalSeconds)
      • getValidationSleepSeconds

        public int getValidationSleepSeconds()
      • setValidationSleepSeconds

        public void setValidationSleepSeconds​(int validationSleepSeconds)