类 RandomDataSourceRecoverThread
java.lang.Object
com.alibaba.druid.pool.ha.selector.RandomDataSourceRecoverThread
- 所有已实现的接口:
Runnable
A Thread trying to test if DataSource in blacklist has been recovered.
- 作者:
- DigitalSonic
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intintvoidrun()voidsetRecoverIntervalSeconds(int recoverIntervalSeconds) voidsetSelector(RandomDataSourceSelector selector) voidsetValidationSleepSeconds(int validationSleepSeconds)
-
字段详细资料
-
DEFAULT_RECOVER_INTERVAL_SECONDS
public static final int DEFAULT_RECOVER_INTERVAL_SECONDS- 另请参阅:
-
-
构造器详细资料
-
RandomDataSourceRecoverThread
-
-
方法详细资料
-
run
public void run() -
getRecoverIntervalSeconds
public int getRecoverIntervalSeconds() -
setRecoverIntervalSeconds
public void setRecoverIntervalSeconds(int recoverIntervalSeconds) -
getValidationSleepSeconds
public int getValidationSleepSeconds() -
setValidationSleepSeconds
public void setValidationSleepSeconds(int validationSleepSeconds) -
getSelector
-
setSelector
-