File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
src/main/java/io/github/ms100/cacheasmulti/support Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 77<dependency >
88 <groupId >io.github.ms100</groupId >
99 <artifactId >cache-as-multi</artifactId >
10- <version >1.1.1 </version >
10+ <version >1.1.2 </version >
1111</dependency >
1212```
1313
Original file line number Diff line number Diff line change 55 <modelVersion >4.0.0</modelVersion >
66 <groupId >io.github.ms100</groupId >
77 <artifactId >cache-as-multi</artifactId >
8- <version >1.1.1 </version >
8+ <version >1.1.2 </version >
99
1010 <name >Cache As Multi</name >
1111 <url >http://https://github.com/ms100/cache-as-multi</url >
Original file line number Diff line number Diff line change 11package io .github .ms100 .cacheasmulti .support ;
22
3- import lombok .Setter ;
3+ import lombok .Data ;
44import org .springframework .boot .autoconfigure .cache .RedisCacheManagerBuilderCustomizer ;
55import org .springframework .data .redis .cache .RedisCacheConfiguration ;
66import org .springframework .data .redis .cache .RedisCacheManager ;
1414/**
1515 * @author zhumengshuai
1616 */
17+ @ Data
1718public class RedisCacheCustomizer implements RedisCacheManagerBuilderCustomizer {
1819 /**
1920 * 使用 RedisSerializer.json 序列化
2021 */
21- @ Setter
2222 private boolean serializeToJson = false ;
2323 /**
2424 * CacheName 对应的 TTL(PT 时间格式)
2525 */
26- @ Setter
2726 private Map <String , Duration > cacheNameTimeToLiveMap = Collections .emptyMap ();
2827
2928 @ Override
You can’t perform that action at this time.
0 commit comments