Showing
1 changed file
with
0 additions
and
2 deletions
@@ -157,7 +157,6 @@ public class RedisGwCacheClient implements CacheClient { | @@ -157,7 +157,6 @@ public class RedisGwCacheClient implements CacheClient { | ||
157 | } else { | 157 | } else { |
158 | redisValue = JSON.toJSONString(value); | 158 | redisValue = JSON.toJSONString(value); |
159 | } | 159 | } |
160 | - long beginTime = System.currentTimeMillis(); | ||
161 | try { | 160 | try { |
162 | valueOperations.set(key, redisValue, timeout, TimeUnit.SECONDS); | 161 | valueOperations.set(key, redisValue, timeout, TimeUnit.SECONDS); |
163 | } catch (Exception e) { | 162 | } catch (Exception e) { |
@@ -281,7 +280,6 @@ public class RedisGwCacheClient implements CacheClient { | @@ -281,7 +280,6 @@ public class RedisGwCacheClient implements CacheClient { | ||
281 | cacheMap.put(key, JSON.toJSONString(value)); | 280 | cacheMap.put(key, JSON.toJSONString(value)); |
282 | } | 281 | } |
283 | } | 282 | } |
284 | - long beginTime = System.currentTimeMillis(); | ||
285 | try { | 283 | try { |
286 | redis.mset(cacheMap,timeout); | 284 | redis.mset(cacheMap,timeout); |
287 | } catch (Exception e) { | 285 | } catch (Exception e) { |
-
Please register or login to post a comment