@Override
  public QueryService getQueryService() {
    preOp();
    if (proxyQueryService == null) {
      proxyQueryService =
          new ProxyQueryService(this, userAttributes.getPool().getQueryService());
    }
    return proxyQueryService;
  }
package-private to avoid synthetic accessor
<p>
TODO: if this is only in inside client then this should be InternalClientCache
geode-core/src/main/java/org/apache/geode/cache/client/internal/ProxyCache.java