public void waitForDelayedWrites() {
    Future<?> lastWriteTask = lastDelayedWrite;
    if (lastWriteTask != null) {
      try {
        lastWriteTask.get();
      } catch (InterruptedException ignore) {
        Thread.currentThread().interrupt();
      } catch (Exception ignore) {
        // do nothing, an exception from the write task was already logged.
      }
    }
  }
Wait for any current operations in the delayed write pool. Completion of this method ensures
that the writes have completed or the pool was shutdown
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreImpl.java