code: public CompletableFuture<Void> scheduleForExecution() {
  		final ExecutionGraph executionGraph = getVertex().getExecutionGraph();
  		final SlotProvider resourceProvider = executionGraph.getSlotProvider();
  		final boolean allowQueued = executionGraph.isQueuedSchedulingAllowed();
  		return scheduleForExecution(
  			resourceProvider,
  			allowQueued,
  			LocationPreferenceConstraint.ANY,
  			Collections.emptySet());
  	}
docs: --------------------------------------------------------------------------------------------