Interface PersistenceTarget<D>

    • Method Summary

      Modifier and Type Method Description
      default void closeTarget()
      Take actions to deactivate/close/destroy the target because it won't be written to again.
      default void prepareTarget()
      Prepare to write to this target.
      void write​(D data)  
    • Method Detail

      • prepareTarget

        default void prepareTarget()
        Prepare to write to this target. E.g. open a defined file.
      • closeTarget

        default void closeTarget()
        Take actions to deactivate/close/destroy the target because it won't be written to again.