jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
Interface exposing java.lang.Thread#interrupt()
source, intended for java.lang.Thread
specializations.
More...
Classes | |
class | Thread |
java.lang.Thread specialization implementing InterruptSource to track java.lang.Thread#interrupt() calls. More... | |
class | Util |
Public Member Functions | |
Throwable | getInterruptSource (final boolean clear) |
Returns the source of the last interrupt() call. More... | |
int | getInterruptCounter (final boolean clear) |
Returns the count of java.lang.Thread#interrupt() calls. More... | |
void | clearInterruptSource () |
Clears source and count of java.lang.Thread#interrupt() calls, if any. More... | |
Interface exposing java.lang.Thread#interrupt()
source, intended for java.lang.Thread
specializations.
Definition at line 34 of file InterruptSource.java.
void org.jau.lang.InterruptSource.clearInterruptSource | ( | ) |
Clears source and count of java.lang.Thread#interrupt()
calls, if any.
Implemented in org.jau.lang.InterruptSource.Thread.
int org.jau.lang.InterruptSource.getInterruptCounter | ( | final boolean | clear | ) |
Returns the count of java.lang.Thread#interrupt()
calls.
clear | if true, issues clearInterruptSource() |
Implemented in org.jau.lang.InterruptSource.Thread.
Throwable org.jau.lang.InterruptSource.getInterruptSource | ( | final boolean | clear | ) |
Returns the source of the last interrupt()
call.
clear | if true, issues clearInterruptSource() |
Implemented in org.jau.lang.InterruptSource.Thread.