Uses of Interface
com.alibaba.druid.pool.ha.selector.DataSourceSelector
Packages that use DataSourceSelector
-
Uses of DataSourceSelector in com.alibaba.druid.pool.ha
Methods in com.alibaba.druid.pool.ha that return DataSourceSelectorMethods in com.alibaba.druid.pool.ha with parameters of type DataSourceSelectorModifier and TypeMethodDescriptionvoidHighAvailableDataSource.setDataSourceSelector(DataSourceSelector dataSourceSelector) -
Uses of DataSourceSelector in com.alibaba.druid.pool.ha.selector
Classes in com.alibaba.druid.pool.ha.selector that implement DataSourceSelectorModifier and TypeClassDescriptionclassUse the given name in ThreadLocal variable to choose DataSource.classA selector which uses java.util.Random to choose DataSource.classAn 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 DataSourceSelectorModifier and TypeMethodDescriptionstatic DataSourceSelectorDataSourceSelectorFactory.getSelector(String name, HighAvailableDataSource highAvailableDataSource) Get a new instance of the given selector name.DataSourceSelectorEnum.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 DataSourceSelectorModifier and TypeMethodDescriptionClass<? extends DataSourceSelector>DataSourceSelectorEnum.getClazz()