package app.services; import app.entities.other.SteamID; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Service; import java.util.List; @Service public class ShardingService { @Autowired @Qualifier(value = "jt_rw") private JdbcTemplate jdbcTemplate_rw; @Autowired @Qualifier(value = "jt_ro") private JdbcTemplate jdbcTemplate_ro; public List getAccountsPerSteamID(SteamID steamID) { //async here return null; } }