@Override
  public boolean cancel(boolean mayInterruptIfRunning) {
    if (isCancelled) {
      return false; // already cancelled
    }
    isCancelled = true;
    if (latch != null) {
      latch.countDown();
    }
    return true;
  }
Creates a new instance of FutureResult with the value available immediately
geode-core/src/main/java/org/apache/geode/internal/util/concurrent/FutureResult.java