Class SmartExecutorSchedulerFactory
java.lang.Object
org.gcube.vremanagement.executor.scheduler.SmartExecutorSchedulerFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SmartExecutorSchedulerstatic voidForgets the scheduler of the current Context, whose tasks are already stopped.
-
Field Details
-
schedulerFactory
protected static org.quartz.SchedulerFactory schedulerFactory
-
-
Constructor Details
-
SmartExecutorSchedulerFactory
public SmartExecutorSchedulerFactory()
-
-
Method Details
-
getSmartExecutorScheduler
public static SmartExecutorScheduler getSmartExecutorScheduler() throws org.quartz.SchedulerException- Returns:
- the persistenceConnector
- Throws:
org.quartz.SchedulerException
-
removeCurrentSmartExecutorScheduler
public static void removeCurrentSmartExecutorScheduler() throws org.quartz.SchedulerExceptionForgets the scheduler of the current Context, whose tasks are already stopped. The Quartz scheduler is the same for every Context: it is shut down only when no Context uses it.- Throws:
org.quartz.SchedulerException- if the Quartz scheduler cannot be shut down
-