public class VelocityRunnableFactory extends RunnableFactory
RunnableFactory implementation for Velocity.| Constructor and Description |
|---|
VelocityRunnableFactory(VelocityPlugin plugin,
com.velocitypowered.api.scheduler.Scheduler scheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAllKnownTasks() |
protected PluginRunnable |
createNewRunnable(String name,
AbsRunnable runnable,
long time) |
create, setCancellablepublic VelocityRunnableFactory(VelocityPlugin plugin, com.velocitypowered.api.scheduler.Scheduler scheduler)
protected PluginRunnable createNewRunnable(String name, AbsRunnable runnable, long time)
createNewRunnable in class RunnableFactorypublic void cancelAllKnownTasks()
cancelAllKnownTasks in class RunnableFactoryCopyright © 2018. All rights reserved.