jankotek / mapdb

MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
https://mapdb.org
Apache License 2.0
4.87k stars 872 forks source link

can mapdb clear object while over max size used disk mode? #989

Open JeanseLam opened 3 years ago

JeanseLam commented 3 years ago

If I use the disk storage mode of mapdb, i hope mapdb can automatically clear elements when the maximum size is exceeded. How can I achieve this? Any friends know? tks~