Class SchedulerSvc

java.lang.Object
com.djrapitops.plan.settings.SchedulerSvc
All Implemented Interfaces:
SchedulerService

@Singleton public class SchedulerSvc extends Object implements SchedulerService
  • Constructor Details

    • SchedulerSvc

      @Inject public SchedulerSvc(Processing processing)
  • Method Details

    • runAsync

      public void runAsync(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 interface SchedulerService
      Parameters:
      runnable - runnable object.
    • register

      public void register()