Package dev.voidframework.scheduler
Class SchedulerManager
java.lang.Object
dev.voidframework.scheduler.SchedulerManager
Scheduler manager takes care of executing scheduled hooks defined by the
use of the
Scheduled annotations.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSchedulerManager(com.typesafe.config.Config configuration, com.google.inject.Injector injector) Build a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidStart the scheduler.voidStop the scheduler.
-
Constructor Details
-
SchedulerManager
@Inject public SchedulerManager(com.typesafe.config.Config configuration, com.google.inject.Injector injector) Build a new instance.- Parameters:
configuration- The application configurationinjector- The injector instance- Since:
- 1.0.0
-
-
Method Details
-
startScheduler
public void startScheduler()Start the scheduler.- Since:
- 1.0.0
-
stopScheduler
public void stopScheduler()Stop the scheduler.- Since:
- 1.0.0
-