Class UiThreadInterruption

java.lang.Object
org.eclipse.scout.rt.ui.html.UiThreadInterruption

@ApplicationScoped public class UiThreadInterruption extends Object
Utility used to handle unexpected interruptions on poolead threads.
Since:
9.0
  • Constructor Details

    • UiThreadInterruption

      public UiThreadInterruption()
  • Method Details

    • detectAndClear

      public void detectAndClear(Object caller, String path)
      If a thread pool does not reset thread interruptions, this may lead to unexpected misbehaviour of processing. This utility method detects, clears and logs such unexpected interruptions.