From 93ac75952d5d6f64256434b99c8da612fa339263 Mon Sep 17 00:00:00 2001 From: guang <guang@guang.com> Date: 星期五, 14 六月 2024 17:10:27 +0800 Subject: [PATCH] 切加颜分支 --- src/main/java/com/hx/redisson/manager/RedisManager.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/hx/redisson/manager/RedisManager.java b/src/main/java/com/hx/redisson/manager/RedisManager.java index e4f42c7..6798614 100644 --- a/src/main/java/com/hx/redisson/manager/RedisManager.java +++ b/src/main/java/com/hx/redisson/manager/RedisManager.java @@ -1,5 +1,6 @@ package com.hx.redisson.manager; +import org.redisson.api.RedissonClient; import org.springframework.data.redis.core.RedisTemplate; import java.util.Map; @@ -15,6 +16,8 @@ private Map<String, RedisTemplate> redisTemplateMap = new ConcurrentHashMap<>(); + public static Map<String, RedissonClient> redissonTemplateMap = new ConcurrentHashMap<>(); + /** * 鏋勯�犳柟娉曞垵濮嬪寲 redisTemplateMap 鐨勬暟鎹� * @@ -23,6 +26,7 @@ public RedisManager(Map<String, RedisTemplate> redisTemplateMap) { this.redisTemplateMap = redisTemplateMap; } + /** * 鏍规嵁鏁版嵁搴撳簭鍙凤紝杩斿洖瀵瑰簲鐨凴edisTemplate @@ -38,4 +42,5 @@ return redisTemplate; } + } -- Gitblit v1.8.0