|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XCallable<T>
Extends Callable adding the concept of priority.
The priority is useful when queuing callables for later execution via theCallableQueueService. A higher number means a higher
priority.
| Method Summary | |
|---|---|
long |
getCreatedTime()
Returns the createdTime of the callable in milliseconds |
String |
getEntityKey()
Return the lock key of the callable |
String |
getKey()
Return the key of the callable |
String |
getName()
Return the callable name. |
int |
getPriority()
Return the priority of the callable. |
String |
getType()
Return the callable type. |
boolean |
inInterruptMode()
|
void |
setInterruptMode(boolean mode)
set the mode of execution for the callable. |
| Methods inherited from interface java.util.concurrent.Callable |
|---|
call |
| Method Detail |
|---|
String getName()
int getPriority()
String getType()
CallableQueueService.
long getCreatedTime()
String getKey()
String getEntityKey()
void setInterruptMode(boolean mode)
boolean inInterruptMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||