Interface ImagingTaskProcessorListener

  • All Known Implementing Classes:
    ImagingTaskProcessorAdapter

    public interface ImagingTaskProcessorListener
    This class allows to implement multi-phase policies with the ImagingTaskProcessor.
    Author:
    Fabrizio Giudici
    • Method Detail

      • notifyTaskCompleted

        void notifyTaskCompleted​(ImagingTaskProcessorEvent event)
        Receives notification that a task has been completed. It is guaranteed that this method is called in thread-safe mode - that is it won't be called again before it completes, and the state of the ImagingTaskProcessor won't change until it completes. This method should complete quickly - should be only used for creating next-phase tasks.
        Parameters:
        task - the completed task