public void initializeRunningTask(QueuableTask task, String hostname) {
    """
	Mark the given tasks as running. This is expected to be called for all tasks that were already running from before
	{@link com.netflix.fenzo.TaskSchedulingService} started running. For example, when the scheduling service
	is being started after a restart of the system and there were some tasks launched in the previous run of
	the system. Any tasks assigned resources during scheduling invoked by this service will be automatically marked
	as running.
	<P>
	@param task The task to mark as running
	@param hostname The name of the VM that the task is running on.
    """
        addRunningTasksQueue.offer(Collections.singletonMap(hostname, task));
    }
public void initializeRunningTask(QueuableTask task, String hostname) {
        addRunningTasksQueue.offer(Collections.singletonMap(hostname, task));
    }
public void initializeRunningTask ( QueuableTask task , String hostname ) { addRunningTasksQueue . offer ( Collections . singletonMap ( hostname , task ) ) ; }
Mark the given tasks as running. This is expected to be called for all tasks that were already running from before
{@link com.netflix.fenzo.TaskSchedulingService} started running. For example, when the scheduling service
is being started after a restart of the system and there were some tasks launched in the previous run of
the system. Any tasks assigned resources during scheduling invoked by this service will be automatically marked
as running.
<P>
@param task The task to mark as running
@param hostname The name of the VM that the task is running on.
Mark the given tasks as running . This is expected to be called for all tasks that were already running from before {