cn.fantasticmao.mundo.data.partition.PartitionSeedToDataSourceKeyStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mundo-data Show documentation
Show all versions of mundo-data Show documentation
Mundo is a tiny and out-of-the-box component for business programming.
package cn.fantasticmao.mundo.data.partition;
import javax.annotation.Nullable;
import java.util.function.Function;
/**
* 将 {@link PartitionSeedContext} 托管的 PartitionSeed
转换成对应 {@link javax.sql.DataSource} 的 Lookup Key。
*
* @author fantasticmao
* @version 1.0
* @see org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource#determineTargetDataSource()
* @since 2018/7/25
*/
@FunctionalInterface
public interface PartitionSeedToDataSourceKeyStrategy extends Function
© 2015 - 2025 Weber Informatics LLC | Privacy Policy