|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Field Summary | |
static int |
IDLE
State when the engine is idle. |
static int |
PAUSED
State when the engine is paused |
static int |
PROCESSING
State when the engine is processing |
| Method Summary | |
void |
errorOccured(QueueItem item,
java.lang.Exception e)
An exception has been thrown in the execution of an item. |
void |
itemAdded(QueueItem item,
int idx)
A new itme has been added to the processing queue. |
void |
itemRemoved(QueueItem item,
int idx)
A new item has been removed from the processing queue. |
void |
stateChange(int state,
QueueItem item)
This method is invoked whenever the processing state of the engine chnages. |
| Field Detail |
public static final int IDLE
public static final int PAUSED
public static final int PROCESSING
| Method Detail |
public void errorOccured(QueueItem item,
java.lang.Exception e)
item - Problem item.e - Exception generated
public void itemAdded(QueueItem item,
int idx)
item - New item.idx - Index in the queue.
public void itemRemoved(QueueItem item,
int idx)
item - Old item.idx - Index in the queue.
public void stateChange(int state,
QueueItem item)
state - State of the engine.item - Item being process or null if the engine
has completed processing or paused.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||