Class ADPVelocityScheduler


  • public class ADPVelocityScheduler
    extends com.alessiodp.core.common.scheduling.ADPScheduler
    • Constructor Detail

      • ADPVelocityScheduler

        public ADPVelocityScheduler​(com.alessiodp.core.common.ADPPlugin plugin)
    • Method Detail

      • getAsyncExecutor

        public Executor getAsyncExecutor()
        Overrides:
        getAsyncExecutor in class com.alessiodp.core.common.scheduling.ADPScheduler
      • getSyncExecutor

        public Executor getSyncExecutor()
        Specified by:
        getSyncExecutor in class com.alessiodp.core.common.scheduling.ADPScheduler
      • scheduleAsyncLater

        public com.alessiodp.core.common.scheduling.CancellableTask scheduleAsyncLater​(@NotNull
                                                                                       @NotNull Runnable runnable,
                                                                                       long delay,
                                                                                       TimeUnit unit)
        Overrides:
        scheduleAsyncLater in class com.alessiodp.core.common.scheduling.ADPScheduler
      • scheduleAsyncRepeating

        public com.alessiodp.core.common.scheduling.CancellableTask scheduleAsyncRepeating​(@NotNull
                                                                                           @NotNull Runnable runnable,
                                                                                           long delay,
                                                                                           long period,
                                                                                           TimeUnit unit)
        Overrides:
        scheduleAsyncRepeating in class com.alessiodp.core.common.scheduling.ADPScheduler