public static void appendNewRegisterInterestResponseChunkFromLocal(
      final @NotNull LocalRegion region,
      final @NotNull VersionedObjectList values, final @NotNull Object riKeys,
      final @NotNull Set<?> keySet, final @NotNull ServerConnection servConn)
      throws IOException {
    ClientProxyMembershipID requestingClient = servConn.getProxyID();
    for (Object key : keySet) {
      VersionTagHolder versionHolder = createVersionTagHolder();

      Object value = region.get(key, null, true, true, true, requestingClient, versionHolder, true);

      updateValues(values, key, value, versionHolder.getVersionTag());

      if (values.size() == MAXIMUM_CHUNK_SIZE) {
        sendNewRegisterInterestResponseChunk(region, riKeys, values, false, servConn);
        values.clear();
      }
    }
  }
Copied from Get70.getValueAndIsObject(), except a minor change. (Make the method static instead
of copying it here?)
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/BaseCommand.java