Package | Description |
---|---|
net.md_5.bungee.api.scheduler |
Modifier and Type | Method and Description |
---|---|
ScheduledTask |
TaskScheduler.runAsync(Plugin owner,
Runnable task)
Schedule a task to be executed asynchronously.
|
ScheduledTask |
TaskScheduler.schedule(Plugin owner,
Runnable task,
long delay,
long period,
TimeUnit unit)
Schedules a task to be executed asynchronously after the specified delay
is up.
|
ScheduledTask |
TaskScheduler.schedule(Plugin owner,
Runnable task,
long delay,
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 © 2012–2019 SpigotMC. All rights reserved.