목록개발공부 (5)
kimmgamjja
자바에서 쉘스크립트를 사용하지 않고 일정주기마다 동작하도록 스케줄링할 수 있다 1. @Scheduled 어노테이션 이용@Scheduled(cron="0 10 10 * * *") // 매일 10시 10분 실행public void schedule(){} @Scheduled(cron = ) 에서 cron 안에 본인이 원하는 반복 주기를 넣으면 된다 2. XML 파일 이용 ( TaskSchduler ) - TaskScheduler를 구성하는 xml 설정 - method : 해당 객체에서 호출될 메서드명 지정- cron : 반복 주기 설정- fixed-rate : 이전에 실행된 task의 종료시간으로부터 정의된 시간만큼 지난 후 다음 task를 실행 (밀리세컨드 단위) - fix..
1. Callable - 자바에서 멀티스레딩을 지원하는 인터페이스 중 하나 - 주로 비동기 작업을 수행하는데 사용된다- 특정 작업을 수행하고 결과를 반환할 수 있는 기능 제공- call() 메서드를 통해 작업을 수행하고 결과를 반환 public Callable> test() throws ParseException { return new Callable>() { @Override public Map call() { ... return resultMap; } };} 2. Runnable- 자바에서 멀티스레딩을 지원하는 인터페이스 중 하나- 비동기 작업을 수행하기 위해 사용- 인자를 받지않고 리턴값이 없는 경우에 ..
자식창에서 부모창 제어하기 - window.opener 1. JQuerylet bookmarkListElm = $(window.opener.document).find("#header-bookmark-scroll").find(".simplebar-content") 2. JavaScriptconst bookmarkElm = window.opener.document.querySelector("#header-bookmark-scroll");
에러 내용 : java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use Reque..

Highcharts update 함수 https://api.highcharts.com/class-reference/Highcharts.Axis#update Highcharts Class: AxisSet the minimum and maximum of the axes after render time. If the startOnTick and endOnTick options are true, the minimum and maximum values are rounded off to the nearest tick. To prevent this, these options can be set to false before calling setExtremes.api.highcharts.com1. chart.serie..