Class SchedulerSvc

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchedulerSvc

        @Inject
        public SchedulerSvc​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
    • 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 interface SchedulerService
        Parameters:
        runnable - runnable object.
      • register

        public void register()