Interface PersistenceTarget<M>

    • 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​(M 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.