v1.5.0 - Fix for issue #1, configuration option added in BasicFileNaming
Users of all previous versions should upgrade to this release, as it contains a fix for issue #1 (possible memory/resource leak in long run). In this release one can configure if database files are created for each hour when records are added in given hour (default) or one can choose if database files are created for each day when records are added in given day:
Database<MyRecord> db = new Database<>(
new DatabaseProperties<>(Path.of("/home/db"), 100)
.setFileNaming(new BasicFileNaming(BasicFileNaming.Mode.DAILY)));
Full Changelog: 1.4.0...1.5.0