|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BukkitWorker
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.
Method Summary | |
---|---|
Plugin |
getOwner()
Returns the Plugin that owns this task. |
int |
getTaskId()
Returns the taskId for the task being executed by this worker. |
Thread |
getThread()
Returns the thread for the worker. |
Method Detail |
---|
int getTaskId()
Plugin getOwner()
Thread getThread()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |