public interface IWorker
WorkerQueue,
WorkerDispatcher| Modifier and Type | Method and Description |
|---|---|
int |
getQueueSize() |
boolean |
isQueueEmpty() |
boolean |
isWorking() |
void |
pause(boolean pause) |
boolean |
queue(Task<?> task)
Queue a task and process it asynchroneously
|
void |
stop()
Stop the processing of the
Task |
void |
waitQueueEmpty()
Wait the queue is empty and all task has finish, and return
|
boolean queue(Task<?> task)
int getQueueSize()
boolean isQueueEmpty()
boolean isWorking()
void waitQueueEmpty()
void pause(boolean pause)
pause - pause the processing of the Taskvoid stop()
TaskBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com