Interface PreInterruptCallback

All Superinterfaces:
Extension

@API(status=EXPERIMENTAL, since="5.12") public interface PreInterruptCallback extends Extension
PreInterruptCallback defines the API for Extensions that wish to be called prior to invocations of Thread.interrupt() by the Timeout extension.

JUnit registers a default implementation that dumps the stacks of all threads to System.out if the "junit.jupiter.execution.timeout.threaddump.enabled" configuration parameter is set to true.

Since:
5.12
See Also: