All schedulers should implement this method.
All schedulers should implement this method. Returns a map of scheduled tasks to their resources to use while running.
Schedule tasks for execution with a given set of resources.
Schedule tasks for execution with a given set of resources. Returns a map of scheduled tasks to their resources to use while running. Only schedules based on the resources available after subtracting resources from running tasks.
the tasks that are currently running.
the tasks that should be considered to be schedule.
the set of system cores.
the set of system memory.
the set of JVM memory.
a map of tasks should be scheduled and their allocate resources.
Scheduler of Task tasks