org.gcube.contentmanagement.baselayer.streamutils
Interface FinishingAction
- All Known Implementing Classes:
- DeleteContentAction
public interface FinishingAction
An action that should be performed, when stream handling has been finished.
Via this, a task can be delegated / delayed until all processing is done.
Method Summary |
void |
finish(FinishingActionStream fas)
This method needs to be implemeted according to whatever task should be
performed. |
finish
void finish(FinishingActionStream fas)
throws java.io.IOException
- This method needs to be implemeted according to whatever task should be
performed.
- Parameters:
fas
- the stream operate on, normally this is invoked inside a
FinishingActionStream.finish(this);
- Throws:
java.io.IOException
- in order to comlpy with the streams used by Java, only
IOExceptions can be thrown from stream operations.