public final class VelocityTask extends Task
Constructor and Description |
---|
VelocityTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
async(GRunnable task)
Implementation of running a runnable async
|
protected void |
scheduleAsync(GRunnable task,
sh.okx.timeapi.TimeAPI time,
boolean repeat)
Implementation of scheduling an async runnable
|
protected void async(GRunnable task)
Task
protected void scheduleAsync(GRunnable task, sh.okx.timeapi.TimeAPI time, boolean repeat)
Task
scheduleAsync
in class Task
task
- Task to runtime
- Time till it runs (or interval)repeat
- Whether the task should be on loop, or only run once.