|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContinuePolicy
This interface is used to define a pluggable continuation policy for
TaskService implementations when the
TaskManager.shouldContinue() method is called.
All implementations must define a constructor of the form
(Properties, ComponentRegistry, TransactionProxy)
| Method Summary | |
|---|---|
boolean |
shouldContinue()
Returns true if the currently running task should do more work
if it is available. |
| Method Detail |
|---|
boolean shouldContinue()
true if the currently running task should do more work
if it is available. Otherwise, returns false. This method
should only be called from a transactional context.
true if the currently running task should do more work
if possible; otherwise false
TransactionException - if the operation failed because of a
problem with the current transactionTaskManager.shouldContinue()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||