Class TaskSchedulerFactory

java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.schedulers.TaskSchedulerFactory

public class TaskSchedulerFactory extends Object
This class define a factory for TaskScheduler that can create only one instance. This class avoid the serialization of the task scheduler classes when serialize TaskContext object.
Since:
2.0
Author:
Laurent Jourdren
  • Method Details

    • initialize

      public static void initialize() throws EoulsanException
      Initialize the scheduler.
      Throws:
      EoulsanException - if an error occurs while configuring the scheduler
    • getScheduler

      public static TaskScheduler getScheduler()
      Get the scheduler
      Returns:
      the TaskScheduler object