주소록

private static final int BATCH_SIZE = 10000;
    private static final int THREAD_COUNT = 2;
This commit is contained in:
hylee 2024-07-30 10:11:13 +09:00
parent 1fbab54408
commit f8a41b8320

View File

@ -62,11 +62,11 @@ public class AddrServiceImpl extends EgovAbstractServiceImpl implements AddrSer
private static final String PHONE_REGEX = "^(01[016789]-?\\d{3,4}-?\\d{4})$";
private static final Pattern PHONE_PATTERN = Pattern.compile(PHONE_REGEX);
private static final Charset EUC_KR = Charset.forName("EUC-KR");
private static final int BATCH_SIZE = 10000;
// private static final int MAX_ADDR_CNT = 500000;
//임시 500만개
private static final int MAX_ADDR_CNT = 5000000;
private static final int THREAD_COUNT = 1; // 적절한 스레드 설정
private static final int BATCH_SIZE = 10000;
private static final int THREAD_COUNT = 2;
public List<AddrVO> selectAddrList(AddrVO addrVO) throws Exception {