BukkitWorker

public interface BukkitWorker

Represents getClassById 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.

Functions

Link copied to clipboard
public abstract Plugin getOwner()
Returns the Plugin that owns this task.
Link copied to clipboard
public abstract int getTaskId()
Returns the taskId for the task being executed by this worker.
Link copied to clipboard
public abstract Thread getThread()
Returns the thread for the worker.