Uses of Interface
com.alibaba.druid.pool.ha.selector.DataSourceSelector
-
Packages that use DataSourceSelector Package Description com.alibaba.druid.pool.ha com.alibaba.druid.pool.ha.selector -
-
Uses of DataSourceSelector in com.alibaba.druid.pool.ha
Methods in com.alibaba.druid.pool.ha that return DataSourceSelector Modifier and Type Method Description DataSourceSelectorHighAvailableDataSource. getDataSourceSelector()Methods in com.alibaba.druid.pool.ha with parameters of type DataSourceSelector Modifier and Type Method Description voidHighAvailableDataSource. setDataSourceSelector(DataSourceSelector dataSourceSelector) -
Uses of DataSourceSelector in com.alibaba.druid.pool.ha.selector
Classes in com.alibaba.druid.pool.ha.selector that implement DataSourceSelector Modifier and Type Class Description classNamedDataSourceSelectorUse the given name in ThreadLocal variable to choose DataSource.classRandomDataSourceSelectorA selector which uses java.util.Random to choose DataSource.classStickyRandomDataSourceSelectorAn extend selector based on RandomDataSourceSelector which can stick a DataSource to a Thread in a while.Methods in com.alibaba.druid.pool.ha.selector that return DataSourceSelector Modifier and Type Method Description static DataSourceSelectorDataSourceSelectorFactory. getSelector(String name, HighAvailableDataSource highAvailableDataSource)Get a new instance of the given selector name.DataSourceSelectorDataSourceSelectorEnum. newInstance(HighAvailableDataSource dataSource)Create a new instance of the DataSourceSelector represented by this enum.Methods in com.alibaba.druid.pool.ha.selector that return types with arguments of type DataSourceSelector Modifier and Type Method Description Class<? extends DataSourceSelector>DataSourceSelectorEnum. getClazz()
-