Interface TaskTrackingExecutor

    • Method Detail

      • getRunningTasks

        List<Runnable> getRunningTasks()
        Returns a List of tasks currently being run by the worker Threads. Unless stated otherwise by an implementing class, the result may be a subject to all kind of races and thus may sometimes not even be fully consistent with any point in the past. This method is intended for spotting long-running or stuck tasks or for general overview of types of tasks being executed.
      • toAwaitableOfEnforcedTermination

        default Awaitable.WithUnit toAwaitableOfEnforcedTermination()