Class ImagingTaskProcessorAdapter
- java.lang.Object
-
- it.tidalwave.image.processor.event.ImagingTaskProcessorAdapter
-
- All Implemented Interfaces:
ImagingTaskProcessorListener
public class ImagingTaskProcessorAdapter extends java.lang.Object implements ImagingTaskProcessorListener
This class allows to implement multi-phase policies with theImagingTaskProcessor
.- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description ImagingTaskProcessorAdapter()
-
Method Summary
All Methods Instance Methods Concrete 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
public void notifyTaskPosted(ImagingTaskProcessorEvent event)
- Specified by:
notifyTaskPosted
in interfaceImagingTaskProcessorListener
-
notifyTaskStarted
public void notifyTaskStarted(ImagingTaskProcessorEvent event)
- Specified by:
notifyTaskStarted
in interfaceImagingTaskProcessorListener
-
notifyTaskCompleted
public void notifyTaskCompleted(ImagingTaskProcessorEvent event)
Description copied from interface:ImagingTaskProcessorListener
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.- Specified by:
notifyTaskCompleted
in interfaceImagingTaskProcessorListener
-
notifyTaskPopped
public void notifyTaskPopped(ImagingTaskProcessorEvent event)
- Specified by:
notifyTaskPopped
in interfaceImagingTaskProcessorListener
-
-