Kotlin inline class와 inline functions을 알아보고, 적절하게 사용하는 방법을 살펴보자. by 권태환 about Kotlin
- About Taehwan
- My name is Taehwan Kwon
- I have developed Android for 6 years and blog has been active for eight years
Spring Batch에서 socket was closed by server 발생시 by 이동욱 about Spring
- 실제로 이렇게 작동하는지 확인하기 위해 RDS의 모니터링을 보면 1개의 Connection이 먼저 Close 되고 (Processor 150초 수행되는 동안) 이후 Batch 종료로 인해 전체 Connection이 종료되는 것을 확인할 수 있습니다
- @Slf4j @RequiredArgsConstructor @Configuration public class SocketCloseSlowNoTxBatch { private static final String BEAN_PREFIX = "SocketCloseSlowNoTxBatch"; private static final int chunkSize = 1; private final JobBuilderFactory jobBuilderFactory; private final StepBuilderFactory stepBuilderFactory; @Bean(BEAN_PREFIX+"_job") public Job job() throws Exception { return jobBuilderFactory
- info("processor end"); return item; }; } @Bean(BEAN_PREFIX+"_writer") public ItemWriter
writer() { return items -> log
Tensorflow2 Keras – Custom loss function and metric classes for multi task learning by 최근우 about Keras
- It is well known that we can use a masking loss for missing-label data
- metric classes and functions would get you some numbers
- they can be modified as in this gist