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.-
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
-
-
Method Details
-
startScheduler
public void startScheduler()Start the scheduler. -
stopScheduler
public void stopScheduler()Stop the scheduler.
-