jdeppe-pivotal commented on a change in pull request #6595:
URL: https://github.com/apache/geode/pull/6595#discussion_r654841015



##########
File path: 
geode-apis-compatible-with-redis/src/main/java/org/apache/geode/redis/internal/GeodeRedisServer.java
##########
@@ -149,9 +151,13 @@ public synchronized void shutdown() {
   }
 
   @VisibleForTesting
-  protected Long getDataStoreBytesInUseForDataRegion() {
+  public Long getDataStoreBytesInUseForDataRegion() {
     PartitionedRegion dataRegion = (PartitionedRegion) 
this.getRegionProvider().getDataRegion();
-    long dataStoreBytesInUse = 
dataRegion.getPrStats().getDataStoreBytesInUse();
-    return dataStoreBytesInUse;
+    return dataRegion.getPrStats().getDataStoreBytesInUse();
+  }
+
+  @VisibleForTesting
+  public RedisMemberInfo getMemberInfo(String key) throws InterruptedException 
{
+    return regionProvider.getSlotAdvisor().getMemberInfo(new 
RedisKey(key.getBytes()));

Review comment:
       Done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to