...
|
...
|
@@ -157,7 +157,6 @@ public class RedisGwCacheClient implements CacheClient { |
|
|
} else {
|
|
|
redisValue = JSON.toJSONString(value);
|
|
|
}
|
|
|
long beginTime = System.currentTimeMillis();
|
|
|
try {
|
|
|
valueOperations.set(key, redisValue, timeout, TimeUnit.SECONDS);
|
|
|
} catch (Exception e) {
|
...
|
...
|
@@ -281,7 +280,6 @@ public class RedisGwCacheClient implements CacheClient { |
|
|
cacheMap.put(key, JSON.toJSONString(value));
|
|
|
}
|
|
|
}
|
|
|
long beginTime = System.currentTimeMillis();
|
|
|
try {
|
|
|
redis.mset(cacheMap,timeout);
|
|
|
} catch (Exception e) {
|
...
|
...
|
|