| Interface | Description |
|---|---|
| DataSourceSelector |
Interface for those selector to implement.
|
| Class | Description |
|---|---|
| DataSourceSelectorFactory |
A Factory pattern for DataSourceSelector.
|
| NamedDataSourceSelector |
Use the given name in ThreadLocal variable to choose DataSource.
|
| RandomDataSourceRecoverThread |
A Thread trying to test if DataSource in blacklist has been recovered.
|
| RandomDataSourceSelector |
A selector which uses java.util.Random to choose DataSource.
|
| RandomDataSourceValidateFilter |
A Druid Filter that records the last success execute time.
|
| RandomDataSourceValidateThread |
A Thread trying to test all DataSource provided by HADataSource.
|
| StickyDataSourceHolder |
A class holding DataSource reference and retrieving time.
|
| StickyRandomDataSourceSelector |
An extend selector based on RandomDataSourceSelector which can stick a DataSource to a Thread in a while.
|
| Enum | Description |
|---|---|
| DataSourceSelectorEnum |
An enum holding the names and classes of DataSourceSelector.
|
Copyright © 2013–2022 Alibaba Group. All rights reserved.