Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 멀티프로세싱
- OAuth2.0
- 2024년 상반기 회고
- 네이버클라우드 서버
- REDIS
- 비동기
- OpenFeign
- ExceptionHandlerFilter
- 비사이드프로젝트
- Spring Cloud OpenFeign
- Spring Security
- ExecutorService
- spring boot
- querydsl
- 도메인 주도 설계(DDD) 기반 마이크로서비스(MSA) 모델링
- asciidoctor
- JWT
- 스레드
- springboot
- microsoft
- 멀티태스킹
- 프로세스
- 코드로 배우는 스프링 부트 웹 프로젝트
- 사이드 프로젝트
- FeignClients
- 티스토리챌린지
- 멀티스레드
- Spring Reactive Programming
- Apple 로그인
- 오블완
Archives
- Today
- Total
목록StringCacheKeyGenerator (1)
기록하기
EhCache - StringCacheKeyGenerator 사용 시 @Cacheable 적용
회사에서 프로젝트를 진행하던 중 ehcache 를 사용해야했으며 key 생성에는 StringCacheKeyGenerator 를 import 받아서 사용하고 있었다. StringCacheKeyGenerator 란, Cache 를 저장할 때 key 를 생성하는데 있어서 사용할 수 있는 방법 중 하나이다. com.googlecode.ehcache-spring-annotations 를 import 하여 사용할 수 있으며 CacheManager 를 활용하여 cache 를 생성할 때 Bean 으로 주입받은 해당 객체를 사용하여 generateKey 메소드로 cache 를 저장할 수 있다. 하지만 프로젝트에서 org.springframework.boot:spring-boot-starter-cache 와 함께 사용하기..
Server/Spring Boot
2022. 9. 18. 17:52