Compare commits
3 Commits
0e616bc995
...
579cb61a75
| Author | SHA1 | Date | |
|---|---|---|---|
| 579cb61a75 | |||
| 6c67e3f1d8 | |||
| a19f65a660 |
@@ -6,7 +6,6 @@ import java.util.Set;
|
|||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.quartz.DisallowConcurrentExecution;
|
|
||||||
import org.quartz.Job;
|
import org.quartz.Job;
|
||||||
import org.quartz.JobDataMap;
|
import org.quartz.JobDataMap;
|
||||||
import org.quartz.JobExecutionContext;
|
import org.quartz.JobExecutionContext;
|
||||||
@@ -44,8 +43,12 @@ import com.eactive.eai.rms.onl.common.util.DateUtil;
|
|||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
|
*
|
||||||
|
* <p>동시 실행 허용: DB 커넥션풀 경합/락 대기로 특정 실행이 멈추더라도(트랜잭션 매니저가
|
||||||
|
* 다른 여러 퍼시스턴스 경로가 얽혀 있어 발생 가능) 다음 fire까지 막히지 않도록
|
||||||
|
* {@code @DisallowConcurrentExecution}을 두지 않는다. 상태 판정/알림 로직은
|
||||||
|
* interfaceId 시간창 기반 중복 제거가 있어 겹쳐 실행돼도 안전하다.</p>
|
||||||
*/
|
*/
|
||||||
@DisallowConcurrentExecution
|
|
||||||
public class ApiStatusMonitorJob implements Job {
|
public class ApiStatusMonitorJob implements Job {
|
||||||
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(ApiStatusMonitorJob.class);
|
private static final Logger log = LoggerFactory.getLogger(ApiStatusMonitorJob.class);
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
package com.eactive.eai.rms.onl.manage.rule.layoutsync;
|
package com.eactive.eai.rms.onl.manage.rule.layoutsync;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
||||||
@@ -684,7 +684,7 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
|
|||||||
JSONObject json = (JSONObject) JSONValue.parse(new InputStreamReader(sis, "EUC-KR"));
|
JSONObject json = (JSONObject) JSONValue.parse(new InputStreamReader(sis, "EUC-KR"));
|
||||||
|
|
||||||
// JJB 향후제거 shkim 2020-05-13 연계 테스트 체크
|
// JJB 향후제거 shkim 2020-05-13 연계 테스트 체크
|
||||||
logger.error("\n\n MMI SYNC Request : " + json.toString());
|
//logger.error("\n\n MMI SYNC Request : " + json.toString());
|
||||||
|
|
||||||
// log 기록
|
// log 기록
|
||||||
byte[] arg = new byte[request.getContentLength()];
|
byte[] arg = new byte[request.getContentLength()];
|
||||||
|
|||||||
Reference in New Issue
Block a user