You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
644 B

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<SteamID> getAccountsPerSteamID(SteamID steamID) {
//async here
return null;
}
}