项目
在 GitHub 查看 
jankotek/mapdb
关于
MapDB 提供并发 Map、Set 和队列,数据存储在磁盘或堆外内存中。它是一款快速易用的嵌入式 Java 数据库引擎。
数据与分析实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- -1
- 1个月
- -3
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
MapDB: database engine
MapDB combines embedded database engine and Java collections. It is free under Apache 2 license. MapDB is fplexible and can be used in many roles:
- Drop-in replacement for Maps, Lists, Queues and other collections.
- Off-heap collections not affected by Garbage Collector
- Multilevel cache with expiration and disk overflow.
- RDBMs replacement with transactions, MVCC, incremental backups etc…
- Local data processing and filtering. MapDB has utilities to process huge quantities of data in reasonable time.
Hello world
<dependency>
<groupId>org.mapdb</groupId>
<artifactId>mapdb</artifactId>
<version>VERSION</version>
</dependency>
Hello world:
//import org.mapdb.*
DB db = DBMaker.memoryDB().make();
ConcurrentMap map = db.hashMap("map").make();
map.put("something", "here");
Continue at Quick Start or at Documentation.
Support
More details.
Development
MapDB is written in Kotlin. You will need Intellij Idea 15 Community Edition to edit it.
Use Maven to build MapDB: mvn install
MapDB comes with extensive unit tests, by default only tiny fraction is executed, so build finishes under 10 minutes.
Full test suite has over million test cases and runs several hours/days.
To run full test suite set -Dmdbtest=1 property.
探索相关项目
加载中…