I know I can just delete the directory. But is there a programmatically way to lets say do something like...
datastore.delete()
I am just trying a little tool to use MicroStream for deep copying Objects through the (unfortunately not yet standalone available) MicroStream serialization. The idea is:
- create datastore
- save file
- shutdown and restart datastore (so that the object is not loaded from the jvm memory)
- load object
- destroy the datastore and return the deep copy
In this example I didnt find a way to destroy "old" datastores in a API like way.