Interface PreInterruptContext


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

    Modifier and Type
    Method
    Description
    Get the Thread which will be interrupted.
  • Method Details

    • getThreadToInterrupt

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