Interface StrandedTaskReporting

All Known Implementing Classes:
CarefulRunnableQueue

public interface StrandedTaskReporting
  • Method Summary

    Modifier and Type
    Method
    Description
    makes available any tasks that were unperformed when this AsynchronousRunner was closed, either explicitly using close() or close( true ), or implicitly because some failure or corruption killed the Object (most likely a Thread interruption.
  • Method Details

    • getStrandedTasks

      List getStrandedTasks()
      makes available any tasks that were unperformed when this AsynchronousRunner was closed, either explicitly using close() or close( true ), or implicitly because some failure or corruption killed the Object (most likely a Thread interruption.
      Returns:
      null if the AsynchronousRunner is still alive, a List of Runnables otherwise, which will be empty only if all tasks were performed before the AsynchronousRunner shut down.