Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | InterruptSource.Thread: Add ctor variant w/ sole Runnable argument (was missing) | Sven Gothel | 2023-08-23 | 1 | -0/+7 |
| | |||||
* | Bug 1213: Refine changes .. comments and API | Sven Gothel | 2015-09-15 | 1 | -9/+34 |
| | | | | | | | | | | | | | | - Use InterruptSource.Thread.create(..), while reducing InterruptSource.Thread ctors to 3 variants. - Use InterruptSource.Thread instead of java.lang.Thread where possible - Use SourcedInterruptedException where possible - SingletonInstanceServerSocket: start(), stop() and run() - Persistent-Wait and Cancelable - Add @since 2.3.2 | ||||
* | Bug 1213: Expose InterruptSource, SourcedInterruptedException and ↵ | Sven Gothel | 2015-09-12 | 1 | -0/+132 |
InterruptedRuntimeException - InterruptSource interface declares methods to retrieve the source of a Thread.interrupt() call. - InterruptSource.Thread implements InterruptSource, i.e. allows code running within such thread to learn about the interrupt source (stack trace). - SourcedInterruptedException is a InterruptedException specialization which may include the source of the causing Thread.interrupt() call. - InterruptedRuntimeException An unchecked RuntimeException propagating an InterruptedException where handling of the latter is not desired. The causing InterruptedException may be of type SourcedInterruptedException, hence a detailed stack trace analysis might be possible. |