Package com.loohp.limbo.scheduler
Class LimboScheduler
java.lang.Object
com.loohp.limbo.scheduler.LimboScheduler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelTask
(int taskId) void
cancelTask
(LimboPlugin plugin) protected LimboScheduler.CurrentSchedulerTask
collectTasks
(long currentTick) protected int
nextId()
protected int
runTask
(int taskId, LimboPlugin plugin, LimboTask task) int
runTask
(LimboPlugin plugin, LimboTask task) protected int
runTaskAsync
(int taskId, LimboPlugin plugin, LimboTask task) int
runTaskAsync
(LimboPlugin plugin, LimboTask task) protected int
runTaskLater
(int taskId, LimboPlugin plugin, LimboTask task, long delay) int
runTaskLater
(LimboPlugin plugin, LimboTask task, long delay) protected int
runTaskLaterAsync
(int taskId, LimboPlugin plugin, LimboTask task, long delay) int
runTaskLaterAsync
(LimboPlugin plugin, LimboTask task, long delay) protected int
runTaskTimer
(int taskId, LimboPlugin plugin, LimboTask task, long delay, long period) int
runTaskTimer
(LimboPlugin plugin, LimboTask task, long delay, long period) protected int
runTaskTimerAsync
(int taskId, LimboPlugin plugin, LimboTask task, long delay, long period) int
runTaskTimerAsync
(LimboPlugin plugin, LimboTask task, long delay, long period)
-
Constructor Details
-
LimboScheduler
public LimboScheduler()
-
-
Method Details
-
nextId
protected int nextId() -
cancelTask
public void cancelTask(int taskId) -
cancelTask
-
runTask
-
runTask
-
runTaskLater
-
runTaskLater
-
runTaskAsync
-
runTaskAsync
-
runTaskLaterAsync
-
runTaskLaterAsync
-
runTaskTimer
-
runTaskTimer
-
runTaskTimerAsync
protected int runTaskTimerAsync(int taskId, LimboPlugin plugin, LimboTask task, long delay, long period) -
runTaskTimerAsync
-
collectTasks
-