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 voidnotifyTaskCompleted(ImagingTaskProcessorEvent event)Receives notification that a task has been completed.voidnotifyTaskPopped(ImagingTaskProcessorEvent event)voidnotifyTaskPosted(ImagingTaskProcessorEvent event)voidnotifyTaskStarted(ImagingTaskProcessorEvent event)
-
-
-
Method Detail
-
notifyTaskPosted
public void notifyTaskPosted(ImagingTaskProcessorEvent event)
- Specified by:
notifyTaskPostedin interfaceImagingTaskProcessorListener
-
notifyTaskStarted
public void notifyTaskStarted(ImagingTaskProcessorEvent event)
- Specified by:
notifyTaskStartedin interfaceImagingTaskProcessorListener
-
notifyTaskCompleted
public void notifyTaskCompleted(ImagingTaskProcessorEvent event)
Description copied from interface:ImagingTaskProcessorListenerReceives 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:
notifyTaskCompletedin interfaceImagingTaskProcessorListener
-
notifyTaskPopped
public void notifyTaskPopped(ImagingTaskProcessorEvent event)
- Specified by:
notifyTaskPoppedin interfaceImagingTaskProcessorListener
-
-