Class TinyTaskServiceImpl

  • All Implemented Interfaces:
    pro.fessional.wings.tiny.task.service.TinyTaskService

    @Service()@ConditionalWingsEnabled() 
    public class TinyTaskServiceImpl
     implements TinyTaskService
                        
    Since:

    2022-12-13

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ThreadPoolTaskScheduler referScheduler(boolean fast) Get the internal ThreadPoolTaskScheduler
      Set<TinyTaskService.Task> schedule(@NotNull() Object taskerBean) Take all the methods annotated with TinyTask inside the taskerBean, initialize them as tasks, and execute them.
      TinyTaskService.Task schedule(@NotNull() Object taskerBean, @NotNull() Method taskerCall, @Nullable() Object taskerPara) Take all the methods annotated with TinyTask inside the taskerBean, initialize them as tasks, and execute them.
      void setTinyTaskConfService(TinyTaskConfService tinyTaskConfService)
      void setTinyTaskExecService(TinyTaskExecService tinyTaskExecService)
      • Methods inherited from class pro.fessional.wings.tiny.task.service.TinyTaskService

        execute, execute, execute, execute, referExecutor, schedule
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait