Skip to content

Commit

Permalink
Additional clarification on Reloader usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudy De Busscher committed Apr 28, 2023
1 parent 52d4a82 commit 3289ba8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/modules/storage/pages/storing-data/reloader.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ New functionality since MicroStream v8.0

When you have already changed your object within memory, but not yet stored through the `store()` method of the _StorageManager_, you can re-load the data from the storage using the `Reloader` class.

When using the "Reloader" on an instance that hasn't yet been stored in MicroStream data storage through a call to `.store()`, there is no _Exception_ thrown and instance is unaltered. So it only 'reverts' the content to the previous value if the instance was already stored.

== Code

The `Reloader` class makes the functionality that was already available within the `PersistenceLoader` class easier accessible.
Expand Down

0 comments on commit 3289ba8

Please sign in to comment.