Package org.bukkit.scheduler
Interface BukkitWorker
-
public interface BukkitWorkerRepresents a worker thread for the scheduler. This gives information about the Thread object for the task, owner of the task and the taskId.Workers are used to execute async tasks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull PlugingetOwner()Returns the Plugin that owns this task.intgetTaskId()Returns the taskId for the task being executed by this worker.@NotNull ThreadgetThread()Returns the thread for the worker.
-