资 源 简 介
JadarDB is a very lightweight but very fast Kay-Value store (database) for Java, written in Java.
JadarDB is basically an in-memory database. When you open a JadarDB FILE, all the contents of the file is loaded in to the memory (you need as much free memory as the size of the database file), and all your read and write requests are executed in the in-memory file, and the modifications are written in to the file on a separated background thread.
This means, that your read/write/delete attempts are runs very fast, if you execute a huge amount of read/delete it can take some time while it is really saved in the file. Ofcourse you don"t need to wait while the file I/O is finished, because the modification is already in the memory, and the next read/write/delete request will run on the newest data.
When you close the database file, the close() method will blocks while the background file I/O operations are finished. It can take a while if you have a huge amount of