An open API service indexing awesome lists of open source software.

https://github.com/jloisel/persistent-collection

Persistent Java Map
https://github.com/jloisel/persistent-collection

Last synced: 12 months ago
JSON representation

Persistent Java Map

Awesome Lists containing this project

README

          

persistent-collection
=====================

Usage:

```java
Map map = new PersistentMapBuilder<>()
.externalizeUsing(Externalizers.serializable())
.persistOn(Persistences.fileSystem("directory"))
.build();
```

Persistent Map with configurable:
- Persistence: persist to anywhere.
- Externalization: convert values to/from bytes.

Available Persistences:
- None: no persistence,
- File system: store entries on disk.

Available Externalizers:
- Java Serialization.