void removeWorkerForAnnotation(AlignmentAnnotation annot);
/**
+ * Alias of removeWorkerForAnnotation
+ */
+ default void removeWorkersForAnnotation(AlignmentAnnotation annot) {
+ removeWorkerForAnnotation(annot);
+ }
+
+ /**
* Removes all workers of a given class. The classes are compared using
* {@link Class#equals(Object)}.
*/
* 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();
}