|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used with AsynchronouslyInterruptedException.doInterruptible()
.
AsynchronouslyInterruptedException.doInterruptible(Interruptible)
Method Summary | |
void |
interruptAction(AsynchronouslyInterruptedException exception)
This method is called by the system if the run() method is
interrupted. |
void |
run(AsynchronouslyInterruptedException exception)
The main logic executed when a call to doInterruptible() is made. |
Method Detail |
public void run(AsynchronouslyInterruptedException exception)
doInterruptible()
is made. Make sure to include a proper
throws clause when you implement this interface or your
this method will not be interruptible.
exception
- access to the AsynchronouslyInterruptedException
so that callbacks can be
madepublic void interruptAction(AsynchronouslyInterruptedException exception)
run()
method is
interrupted.
exception
- access to the AsynchronouslyInterruptedException
so that callbacks can be
made
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |