|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IInterruptibleTaskDispatchStrategy
A dispatch strategy that can be interrupted. This may be to hand control over to an interactive user, or for other reasons. Even though this strategy generally supports being interrupted, there may be situations where interruption is unallowed, as indicated by the interruptible property.
| Method Summary | |
|---|---|
void |
interrupt()
Notifies the dispatch strategy of the intent to interrupt. |
boolean |
isInterruptible()
Returns whether interrupt() is allowed to be called on this strategy. |
void |
setInterruptible(boolean interruptible)
Sets whether interrupt() is allowed to be called on this strategy. |
| Methods inherited from interface com.googlecode.lightest.core.ITaskDispatchStrategy |
|---|
dispatch |
| Method Detail |
|---|
void setInterruptible(boolean interruptible)
interruptible - boolean isInterruptible()
void interrupt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||