Package com.djrapitops.plan.settings
Class SchedulerSvc
- java.lang.Object
-
- com.djrapitops.plan.settings.SchedulerSvc
-
- All Implemented Interfaces:
SchedulerService
@Singleton public class SchedulerSvc extends java.lang.Object implements SchedulerService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.djrapitops.plan.settings.SchedulerService
SchedulerService.Holder
-
-
Constructor Summary
Constructors Constructor Description SchedulerSvc(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
register()
void
runAsync(java.lang.Runnable runnable)
Attempts to register an async task to the platform as Plan.
-
-
-
Method Detail
-
runAsync
public void runAsync(java.lang.Runnable runnable)
Description copied from interface:SchedulerService
Attempts to register an async task to the platform as Plan.This is an utility method for implementing tasks for platforms that don't have static access to the task registration.
- Specified by:
runAsync
in interfaceSchedulerService
- Parameters:
runnable
- runnable object.
-
register
public void register()
-
-