private GIIStatus reportGIIStatus() {
    if (!gotImage) {
      return GIIStatus.NO_GII;
    } else {
      // got image
      if (isDeltaGII) {
        return GIIStatus.GOTIMAGE_BY_DELTAGII;
      } else {
        return GIIStatus.GOTIMAGE_BY_FULLGII;
      }
    }
  }
inhibit use of StateFlush for the current thread
geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java