Interface InterruptionContext.Listener

All Superinterfaces:
EventListener
Enclosing interface:
InterruptionContext

public static interface InterruptionContext.Listener extends EventListener
The interruption listener, that can be added and removed by the interruption context.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called by an application when it attempts to stop execution of some long-working module.
  • Method Details

    • interruptionRequested

      void interruptionRequested(InterruptionContext.Event event)
      This method is called by an application when it attempts to stop execution of some long-working module.
      Parameters:
      event - interruption event.