@Override
  public CqState getState() {
    return cqState;
  }
Return the state of this query. Should not modify this state without first locking it.

@return STOPPED RUNNING or CLOSED
geode-cq/src/main/java/org/apache/geode/cache/query/cq/internal/CqQueryImpl.java