|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterruptHandler
An interface for handling thread interrupts. A handler is responsible for
taking some kind of action when a thread has been interrupted via
Thread.interrupt()
. Handlers are registered with ThreadSignalHandler.setInterruptHandler(InterruptHandler)
and are
invoked from ThreadSignalHandler.checkInterrupted()
when the
currently running thread has been interrupted.
Note to BASE developers! Long running operations inside the BASE
core or utilities should call ThreadSignalHandler.checkInterrupted()
at regular intervals to make sure that operations can be interrupted.
Method Summary | |
---|---|
void |
handleInterrupt()
This method is called when the worker thread has been interrupted by some other thread. |
Method Detail |
---|
void handleInterrupt()
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |