| Package | Description |
|---|---|
| io.github.waterfallmc.waterfall.exception | |
| net.md_5.bungee.api.scheduler |
| Modifier and Type | Method and Description |
|---|---|
ScheduledTask |
ProxySchedulerException.getTask()
Gets the task which threw the exception
|
| Constructor and Description |
|---|
ProxySchedulerException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
ScheduledTask task) |
ProxySchedulerException(String message,
Throwable cause,
ScheduledTask task) |
ProxySchedulerException(Throwable cause,
ScheduledTask task) |
| 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 © 2015–2020 WaterfallMC. All rights reserved.