Package com.alibaba.druid.pool.ha.selector
package com.alibaba.druid.pool.ha.selector
-
ClassDescriptionInterface for those selector to implement.An enum holding the names and classes of DataSourceSelector.A Factory pattern for DataSourceSelector.Use the given name in ThreadLocal variable to choose DataSource.A Thread trying to test if DataSource in blacklist has been recovered.A selector which uses java.util.Random to choose DataSource.A Druid Filter that records the last success execute time.A Thread trying to test all DataSource provided by HADataSource.A class holding DataSource reference and retrieving time.An extend selector based on RandomDataSourceSelector which can stick a DataSource to a Thread in a while.