public class CommandScheduler
extends java.lang.Object
Constructor and Description |
---|
CommandScheduler() |
Modifier and Type | Method and Description |
---|---|
void |
schedule(PluginRunnable runnable,
ThreadPolicy policy)
Schedule a job for execution.
|
public void schedule(PluginRunnable runnable, ThreadPolicy policy)
runnable
- Job to schedule.policy
- Threading policy to use. This policy determines if the job will be executed immediately or queued for
execution.