Package | Description |
---|---|
net.tridentsdk.concurrent |
Miscellaneous concurrency tools and utilities, especially those that a plugin can use
|
net.tridentsdk.server.concurrent |
Contains most of the code to handle the concurrent of the server
|
Modifier and Type | Method and Description |
---|---|
ScheduledTask |
ScheduledRunnable.asScheduledTask()
The scheduled representation of the runnable
|
ScheduledTask |
Scheduler.asyncLater(Plugin plugin,
ScheduledRunnable runnable,
long delay)
Asynchronously run a task after a specified time has passed
|
ScheduledTask |
Scheduler.asyncRepeat(Plugin plugin,
ScheduledRunnable runnable,
long delay,
long initialInterval)
Asynchronously run a task repeatedly
|
ScheduledTask |
Scheduler.asyncRun(Plugin plugin,
ScheduledRunnable runnable)
Asynchronously run a task after the next tick
|
ScheduledTask |
Scheduler.syncLater(Plugin plugin,
ScheduledRunnable runnable,
long delay)
Asynchronously run a task after a specified time has passed
|
ScheduledTask |
Scheduler.syncRepeat(Plugin plugin,
ScheduledRunnable runnable,
long delay,
long initialInterval)
Synchronously run a task repeatedly
|
ScheduledTask |
Scheduler.syncRun(Plugin plugin,
ScheduledRunnable runnable)
Synchronously run a task after the next tick
|
Modifier and Type | Method and Description |
---|---|
void |
ScheduledRunnable.markSchedule(ScheduledTask task) |
Modifier and Type | Method and Description |
---|---|
ScheduledTask |
TridentTaskScheduler.asyncLater(Plugin plugin,
ScheduledRunnable runnable,
long delay) |
ScheduledTask |
TridentTaskScheduler.asyncRepeat(Plugin plugin,
ScheduledRunnable runnable,
long delay,
long initialInterval) |
ScheduledTask |
TridentTaskScheduler.asyncRun(Plugin plugin,
ScheduledRunnable runnable) |
ScheduledTask |
TridentTaskScheduler.syncLater(Plugin plugin,
ScheduledRunnable runnable,
long delay) |
ScheduledTask |
TridentTaskScheduler.syncRepeat(Plugin plugin,
ScheduledRunnable runnable,
long delay,
long initialInterval) |
ScheduledTask |
TridentTaskScheduler.syncRun(Plugin plugin,
ScheduledRunnable runnable) |
Modifier and Type | Method and Description |
---|---|
protected Collection<ScheduledTask> |
TridentTaskScheduler.delegate() |
Copyright © 2016. All rights reserved.