Class ADPVelocityScheduler
- java.lang.Object
-
- com.alessiodp.core.common.scheduling.ADPScheduler
-
- com.alessiodp.core.velocity.scheduling.ADPVelocityScheduler
-
public class ADPVelocityScheduler extends com.alessiodp.core.common.scheduling.ADPScheduler
-
-
Constructor Summary
Constructors Constructor Description ADPVelocityScheduler(com.alessiodp.core.common.ADPPlugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorgetAsyncExecutor()ExecutorgetSyncExecutor()com.alessiodp.core.common.scheduling.CancellableTaskscheduleAsyncLater(@NotNull Runnable runnable, long delay, TimeUnit unit)com.alessiodp.core.common.scheduling.CancellableTaskscheduleAsyncRepeating(@NotNull Runnable runnable, long delay, long period, TimeUnit unit)
-
-
-
Method Detail
-
getAsyncExecutor
public Executor getAsyncExecutor()
- Overrides:
getAsyncExecutorin classcom.alessiodp.core.common.scheduling.ADPScheduler
-
getSyncExecutor
public Executor getSyncExecutor()
- Specified by:
getSyncExecutorin classcom.alessiodp.core.common.scheduling.ADPScheduler
-
scheduleAsyncLater
public com.alessiodp.core.common.scheduling.CancellableTask scheduleAsyncLater(@NotNull @NotNull Runnable runnable, long delay, TimeUnit unit)- Overrides:
scheduleAsyncLaterin classcom.alessiodp.core.common.scheduling.ADPScheduler
-
-