类 RandomDataSourceRecoverThread

java.lang.Object
com.alibaba.druid.pool.ha.selector.RandomDataSourceRecoverThread
所有已实现的接口:
Runnable

public class RandomDataSourceRecoverThread extends Object implements Runnable
A Thread trying to test if DataSource in blacklist has been recovered.
作者:
DigitalSonic
  • 字段详细资料

    • DEFAULT_RECOVER_INTERVAL_SECONDS

      public static final int DEFAULT_RECOVER_INTERVAL_SECONDS
      另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • run

      public void run()
      指定者:
      run 在接口中 Runnable
    • getRecoverIntervalSeconds

      public int getRecoverIntervalSeconds()
    • setRecoverIntervalSeconds

      public void setRecoverIntervalSeconds(int recoverIntervalSeconds)
    • getValidationSleepSeconds

      public int getValidationSleepSeconds()
    • setValidationSleepSeconds

      public void setValidationSleepSeconds(int validationSleepSeconds)
    • getSelector

      public RandomDataSourceSelector getSelector()
    • setSelector

      public void setSelector(RandomDataSourceSelector selector)