일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Hibernate
- cassandra
- spring boot
- spring cloud
- Spring Open Feign
- Docker Compose
- argo cd
- weblogic 10
- redis
- vue.js
- docker
- docker-compose
- Redis Sentinel
- jmeter
- spring boot redis
- coalesce
- Airflow
- RabbitMQ
- docker compose mysql
- Selenium
- JPA
- mybatis
- MySQL
- KAFKA
- ChannelPipeline
- WebLogic
- Netty
- QueryDSL
- grafana
- netflix oss
- Today
- Total
목록2019/05/07 (3)
IT.FARMER
back off 알고리즘 통신할때 충돌이 일어난 경우 일정시간동안 기다린후 다시 호출 하는 방식 /** * API 실행 실패에 대한 재시도 정책 적용 * Backoff Time = 재시도 횟수 * 3 SEC , 최대 3회 * * @param apiRequest * @return * @throws Exception */ private String apiCall(APIRequest apiRequest) throws Exception { int tryCount = 0; boolean isSuccess = false; String responseData = null; do { try { tryCount++; responseData = apiRequest.executeBlock(String.class); isSu..
예외사항을 호출한 메소드에서 처리하고자 하는경우 예외 사항을 상위로 올려준다. import com.aereport.adtect.common.exception.custom.AEBaseException; import com.aereport.adtect.common.exception.custom.APIBaseException; import lombok.ToString; import org.junit.Test; /** * * Description : throws bubble up test * * * * * @author skan * @version Copyright (C) 2018 by skan. All right reserved. * @since 2018-11-20 */ public class ThrowsTe..
스트림 사용시에 상위 메소드로 익셉션을 전파하고 싶을때 사용 try { customIds.forEach(customId ->{ List ads = null; try { ads = fbAdAPIService.findByAllAds(customId); adTemps.addAll(ads); fbAdDao.fbAdMetaDataSave(ads); } catch (Exception e) { log.error("페이스북 광고(소재) 데이터 수집 실패 = customerId = {}", customId ); throw new RuntimeException(e); } }); } catch (RuntimeException e) { // FIXME : Ad - throw bubble up if (e.getCause() !..