|
|
@@ -48,6 +48,8 @@ public class FeatureV2Service {
|
|
|
.build();
|
|
|
}
|
|
|
|
|
|
+ long startTime = System.currentTimeMillis();
|
|
|
+
|
|
|
// 1. 生成Redis Key列表
|
|
|
List<String> redisKeys = CommonCollectionUtils.toList(request.getFeatureKeyList(), this::redisKey);
|
|
|
|
|
|
@@ -99,7 +101,9 @@ public class FeatureV2Service {
|
|
|
builder.putFeature(request.getFeatureKeyList().get(i).getUniqueKey(),
|
|
|
Strings.nullToEmpty(values.get(i)));
|
|
|
}
|
|
|
- return builder.build();
|
|
|
+ MultiGetFeatureResponse build = builder.build();
|
|
|
+ log.info("multiGetFeature, cost={}ms", System.currentTimeMillis() - startTime);
|
|
|
+ return build;
|
|
|
}
|
|
|
|
|
|
private static final class BatchFuture {
|