@Override
    public void runOrAbort(AtomicBoolean aborted) {
      try {
        delay.await();
      } catch (InterruptedException e) {
        Thread.currentThread().interrupt();
      }
      wasRun.set(true);
      wasAborted.set(aborted.get());
    }
AbortableTask that waits on the CountDownLatch proceeding.
geode-core/src/test/java/org/apache/geode/internal/util/AbortableTaskServiceJUnitTest.java