...
|
...
|
@@ -230,6 +230,8 @@ public class RedisGwCacheClient implements CacheClient { |
|
|
|
|
|
public <K, T> Map<K, T> getBulk(List<RedisKeyBuilder> redisKeyBuilders, Class<T> clazz, Function<List<K>, Map<K, T>> nullCacheFun, Function<String, K> keyConvertFun,
|
|
|
long timeOut, String cacheKeyPre, Map<String, K> cacheKeyAndStringMap) {
|
|
|
LOGGER.info("method getBulk bengin!");
|
|
|
|
|
|
try {
|
|
|
List<String> multiGet = valueOperations.multiGet(redisKeyBuilders);
|
|
|
int size = multiGet.size();
|
...
|
...
|
@@ -271,7 +273,7 @@ public class RedisGwCacheClient implements CacheClient { |
|
|
if (apply.isEmpty()) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
LOGGER.info("method setBulk bengin!");
|
|
|
Map<RedisKeyBuilder, String> map = new HashMap<>();
|
|
|
for (Map.Entry<K, T> item : apply.entrySet()) {
|
|
|
String redisValue;
|
...
|
...
|
|