Sfoglia il codice sorgente

修复clear缓存时 类型转换错误的问题

zhouhao 8 anni fa
parent
commit
019a038fca

+ 1 - 1
hsweb-web-concurrent/hsweb-web-concurrent-cache/src/main/java/org/hsweb/concureent/cache/monitor/RedisMonitorCache.java

@@ -139,7 +139,7 @@ public class RedisMonitorCache extends RedisCache implements Cache, MonitorCache
     @Override
     public void clear() {
         super.clear();
-        redisOperations.delete(keySetKey);
+        redisOperations.delete(new String(keySetKey));
     }
 
     @Override