Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.scheduler.BukkitWorker Interface Reference

Public Member Functions

int getTaskId ()
 
Plugin getOwner ()
 
Thread getThread ()
 

Detailed Description

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

Definition at line 11 of file BukkitWorker.java.

Member Function Documentation

Plugin org.bukkit.scheduler.BukkitWorker.getOwner ( )

Returns the Plugin that owns this task.

Returns
The Plugin that owns the task
int org.bukkit.scheduler.BukkitWorker.getTaskId ( )

Returns the taskId for the task being executed by this worker.

Returns
Task id number
Thread org.bukkit.scheduler.BukkitWorker.getThread ( )

Returns the thread for the worker.

Returns
The Thread object for the worker

The documentation for this interface was generated from the following file: