protected final synchronized @NotNull CompletableFuture<?> rebuildCache() {
    for (CompletableFuture<?> future : myFutures) {
      future.cancel(true);
    }
    myFutures.clear();

    CompletableFuture<?> future = myCoroutineHelper.scheduleCacheAndTreeUpdate();
    myFutures.add(future);
    return future;
  }
protected final synchronized @NotNull CompletableFuture<?> rebuildCache()