JAL-3690 - introduce shutdown method that cleans up manager's resources.
[jalview.git] / src / jalview / api / AlignCalcManagerI2.java
index 756e402..22b4832 100644 (file)
@@ -111,4 +111,10 @@ public interface AlignCalcManagerI2
    * Remove previously registered worker listener.
    */
   void removeAlignCalcListener(AlignCalcListener listener);
+  
+  /**
+   * Stops the manager from running new jobs and cleans-up all
+   * resources such as threads and thread pools.
+   */
+  void shutdown();
 }