Interface PreInterruptContext


  • @API(status=MAINTAINED,
         since="5.13.3")
    public interface PreInterruptContext
    PreInterruptContext encapsulates the context in which an beforeThreadInterrupt method is called.
    Since:
    5.12
    See Also:
    PreInterruptCallback
    • Method Detail

      • getThreadToInterrupt

        @API(status=MAINTAINED,
             since="5.13.3")
        java.lang.Thread getThreadToInterrupt()
        Get the Thread which will be interrupted.
        Returns:
        the Thread; never null
        Since:
        5.12