| Package | Description |
|---|---|
| net.md_5.bungee.api.scheduler |
| Modifier and Type | Method and Description |
|---|---|
ScheduledTask |
TaskScheduler.runAsync(Plugin owner,
java.lang.Runnable task)
Schedule a task to be executed asynchronously.
|
ScheduledTask |
TaskScheduler.schedule(Plugin owner,
java.lang.Runnable task,
long delay,
long period,
java.util.concurrent.TimeUnit unit)
Schedules a task to be executed asynchronously after the specified delay
is up.
|
ScheduledTask |
TaskScheduler.schedule(Plugin owner,
java.lang.Runnable task,
long delay,
java.util.concurrent.TimeUnit unit)
Schedules a task to be executed asynchronously after the specified delay
is up.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TaskScheduler.cancel(ScheduledTask task)
Cancel a task to prevent it from executing, or if its a repeating task,
prevent its further execution.
|
Copyright © 2015-2018 WaterfallMC. All Rights Reserved.