| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_RECOVER_INTERVAL_SECONDS |
| Constructor and Description |
|---|
RandomDataSourceRecoverThread(RandomDataSourceSelector selector) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRecoverIntervalSeconds() |
RandomDataSourceSelector |
getSelector() |
int |
getValidationSleepSeconds() |
void |
run() |
void |
setRecoverIntervalSeconds(int recoverIntervalSeconds) |
void |
setSelector(RandomDataSourceSelector selector) |
void |
setValidationSleepSeconds(int validationSleepSeconds) |
public static final int DEFAULT_RECOVER_INTERVAL_SECONDS
public RandomDataSourceRecoverThread(RandomDataSourceSelector selector)
public int getRecoverIntervalSeconds()
public void setRecoverIntervalSeconds(int recoverIntervalSeconds)
public int getValidationSleepSeconds()
public void setValidationSleepSeconds(int validationSleepSeconds)
public RandomDataSourceSelector getSelector()
public void setSelector(RandomDataSourceSelector selector)
Copyright © 2013–2021 Alibaba Group. All rights reserved.