Reputation: 83
I'm using microstream and I try to save my object in storage :
EmbeddedStorageFoundation esf = EmbeddedStorageFoundation.New().setConfiguration(storageConfiguration);
storage = esf.createEmbeddedStorageManager();
storage.start();
storage.setRoot(content);
when I execute "storage.start()" the exception throw : Can you help me what is the problem? If you need another thing comment to provide.
Upvotes: 0
Views: 112
Reputation: 146
This exception means, that another process is running on the existing storage. It is not allowed. When you set a root, you need also to save it.
storageManager.storeRoot();
Upvotes: 0