티스토리 뷰
728x90
https://stackoverflow.com/questions/33383366/cacheble-annotation-on-no-parameter-method
https://stackoverflow.com/questions/48888760/cachable-on-methods-without-input-parameters
spring:
cache:
jcache:
config: classpath:ehcache.xml
@EnableCaching
@Cacheable(value = ["MetaService.find"], key = "{#meta.application, #meta.profile, #meta.label}")
<config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://www.ehcache.org/v3'
xmlns:jsr107="http://www.ehcache.org/v3/jsr107"
xsi:schemaLocation="http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core.xsd
http://www.ehcache.org/v3/jsr107 http://www.ehcache.org/schema/ehcache-107-ext-3.0.xsd">
<service>
<jsr107:defaults enable-management="true" enable-statistics="true"/>
</service>
<cache-template name="default">
<resources>
<heap unit="entries">2000</heap>
</resources>
</cache-template>
<cache alias="MetaService.find" uses-template="default">
<expiry>
<ttl unit="seconds">3</ttl>
</expiry>
</cache>
</config>
implementation("javax.cache:cache-api:1.1.1")
https://prohannah.tistory.com/88
728x90
'공부' 카테고리의 다른 글
[avro] enum field null (0) | 2022.07.01 |
---|---|
[k8s] ConfigMap "boolean" (0) | 2022.06.28 |
[ktlint] disabled_rules=experimental:argument-list-wrapping (0) | 2022.06.28 |
[Athena] SQL COALESCE(a, 0) <-- NVL(a, 0) (0) | 2022.06.28 |
[Github] Actions (0) | 2022.06.28 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 개리마커스
- 할인
- 테슬라 레퍼럴 코드 확인
- 팔로워 수 세기
- 유투브
- 메디파크 내과 전문의 의학박사 김영수
- 김달
- 모델 Y 레퍼럴
- 책그림
- 테슬라 리퍼럴 코드 혜택
- 레퍼럴
- 테슬라 레퍼럴 적용 확인
- wlw
- 테슬라 추천
- 클루지
- 모델y
- 테슬라 레퍼럴
- 어떻게 능력을 보여줄 것인가?
- 테슬라 리퍼럴 코드 생성
- COUNT
- 연애학개론
- Bot
- 인스타그램
- 테슬라 리퍼럴 코드
- Kluge
- follower
- 테슬라
- 테슬라 크레딧 사용
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함