docs: public Collection<CompletableFuture<TaskManagerLocation>> getPreferredLocations() {
  		Collection<CompletableFuture<TaskManagerLocation>> basedOnState = getPreferredLocationsBasedOnState();
  		return basedOnState != null ? basedOnState : getPreferredLocationsBasedOnInputs();
  	}