Interface ImagingTaskProcessorListener
-
- All Known Implementing Classes:
ImagingTaskProcessorAdapter
public interface ImagingTaskProcessorListener
This class allows to implement multi-phase policies with theImagingTaskProcessor
.- Author:
- Fabrizio Giudici
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notifyTaskCompleted(ImagingTaskProcessorEvent event)
Receives notification that a task has been completed.void
notifyTaskPopped(ImagingTaskProcessorEvent event)
void
notifyTaskPosted(ImagingTaskProcessorEvent event)
void
notifyTaskStarted(ImagingTaskProcessorEvent event)
-
-
-
Method Detail
-
notifyTaskPosted
void notifyTaskPosted(ImagingTaskProcessorEvent event)
-
notifyTaskStarted
void notifyTaskStarted(ImagingTaskProcessorEvent event)
-
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
-
notifyTaskPopped
void notifyTaskPopped(ImagingTaskProcessorEvent event)
-
-