@Override
  public boolean getKeepAlive() {
    if (cache == null) {
      return keepAlive;
    }

    return cache.keepDurableSubscriptionsAlive();
  }
Returns the QueryService, that can be used to execute Query functions on the servers associated
with this pool.

@return the QueryService
geode-core/src/main/java/org/apache/geode/cache/client/internal/PoolImpl.java