Lazy
references as free memory gets lower.Currency
, Locale
, URI
, URL
, Path
StorageConnection
, StorageManager
, StorageController
, etc.StorageConnectionFoundation
instance is now properly created on demand.SelfStoring
without replacement since it could not be used recursively and has no advantages over just creating a static storing utility method for a certain entity.EmbeddedStorageManager
now implements java.lang.AutoClosable
.RuntimeException
s with either PersistenceException
or StorageException
, depending on the architectural level the corresponding source code it located.transient EmbeddedStorageManager
now get a reference to the used EmbeddedStorageManager
instance set upon loading/updating.StorageManager
instead of EmbeddedStorageManager
. (An EmbeddedStorageManager
"is a" StorageManager
)one.microstream.persistence.lazy
to one.microstream.reference
. The reason is that the lazy handling has actually no inherent connection to persistence or storage. It's actually just a generic concept that can be used by those layers. See Migration Guide below on how to adjust existing projects.one.microstream.persistence.lazy.Lazy
have to be refactored to one.microstream.reference.Lazy
. Modern IDEs provide a functionality to "auto-import" missing types or automatically "organize imports", so this should be resolved with a proverbial push of a button.java.util.File
with java.nio.file.Path
to allow using custom file implementations.EmbeddedStorageManager#createStorer
and Storer#skip
).StorageThreadNameProvider
.java.util.Locale
is now persisted and created using Locale's #toLanguageTag
and #forLanguageTag
.