|
@@ -16,7 +16,8 @@ import lombok.RequiredArgsConstructor;
|
|
|
public class RedisCache {
|
|
public class RedisCache {
|
|
|
|
|
|
|
|
private int expiryInSeconds = 60*30;
|
|
private int expiryInSeconds = 60*30;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
private RedissonClient redisson ;
|
|
private RedissonClient redisson ;
|
|
|
|
|
|
|
|
private RMapCache<Object, Object> getCache(final String region) {
|
|
private RMapCache<Object, Object> getCache(final String region) {
|