Class SameThreadTimeoutInvocation.InterruptTask
- java.lang.Object
-
- org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.InterruptTask
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- SameThreadTimeoutInvocation<T>
static class SameThreadTimeoutInvocation.InterruptTask extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Throwable>exceptionsDuringInterruptionprivate booleanexecutedprivate PreInterruptCallbackInvocationpreInterruptCallbackprivate java.lang.Threadthread
-
Constructor Summary
Constructors Constructor Description InterruptTask(java.lang.Thread thread, PreInterruptCallbackInvocation preInterruptCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidattachSuppressedExceptions(java.lang.Throwable outerException)voidrun()
-
-
-
Field Detail
-
preInterruptCallback
private final PreInterruptCallbackInvocation preInterruptCallback
-
exceptionsDuringInterruption
private final java.util.List<java.lang.Throwable> exceptionsDuringInterruption
-
thread
private final java.lang.Thread thread
-
executed
private volatile boolean executed
-
-
Constructor Detail
-
InterruptTask
InterruptTask(java.lang.Thread thread, PreInterruptCallbackInvocation preInterruptCallback)
-
-