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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskScheduler
getScheduler()
Get the schedulerstatic void
initialize()
-
-
-
Method Detail
-
initialize
public static void initialize() throws EoulsanException
- Throws:
EoulsanException
- if an error occurs while configuring the scheduler
-
getScheduler
public static TaskScheduler getScheduler()
Get the scheduler- Returns:
- the TaskScheduler object
-
-