docs: public static ResourceManagerRuntimeServices fromConfiguration(
  			ResourceManagerRuntimeServicesConfiguration configuration,
  			HighAvailabilityServices highAvailabilityServices,
  			ScheduledExecutor scheduledExecutor) throws Exception {
  
  		final SlotManagerConfiguration slotManagerConfiguration = configuration.getSlotManagerConfiguration();
  
  		final SlotManager slotManager = new SlotManager(
  			scheduledExecutor,
  			slotManagerConfiguration.getTaskManagerRequestTimeout(),
  			slotManagerConfiguration.getSlotRequestTimeout(),
  			slotManagerConfiguration.getTaskManagerTimeout(),
  			slotManagerConfiguration.isWaitResultConsumedBeforeRelease());
  
  		final JobLeaderIdService jobLeaderIdService = new JobLeaderIdService(
  			highAvailabilityServices,
  			scheduledExecutor,
  			configuration.getJobTimeout());
  
  		return new ResourceManagerRuntimeServices(slotManager, jobLeaderIdService);
  	}