Interface ItemStream

    • Method Detail

      • update

        void update​(ExecutionContext executionContext)
             throws ItemStreamException
        Indicates that the execution context provided during open is about to be saved. If any state is remaining, but has not been put in the context, it should be added here.
        Parameters:
        executionContext - to be updated
        Throws:
        java.lang.IllegalArgumentException - if executionContext is null.
        ItemStreamException
      • close

        void close()
            throws ItemStreamException
        If any resources are needed for the stream to operate they need to be destroyed here. Once this method has been called all other methods (except open) may throw an exception.
        Throws:
        ItemStreamException