• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

mapdb: MapDB是一个快速、易用的嵌入式Java数据库引擎,它提供了基于磁盘或者堆外(of ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

mapdb

开源软件地址:

https://gitee.com/mirrors/mapdb

开源软件介绍:

MapDB: database engine

Build StatusMaven CentralJoin the chat at https://gitter.im/jankotek/mapdb

MapDB combines embedded database engine and Java collections.It is free under Apache 2 license. MapDB is flexible 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

Maven snippet, VERSION is Maven Central

<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");

You can continue with quick start or refer to the documentation.

Support

More details.

Development

MapDB is written in Kotlin, you will need IntelliJ Idea.

You can use Gradle to build MapDB.

MapDB is extensively unit-tested.By default, only tiny fraction of all tests are executed, so build finishes under 10 minutes.Full test suite has over million test cases and runs for several hours/days.To run full test suite, set -Dmdbtest=1 VM option.

Longer unit tests might require more memory. Use this to increase heap memory assigned to unit tests: -DtestArgLine="-Xmx3G"

By default unit tests are executed in 3 threads. Thread count is controlled by -DtestThreadCount=3 property

On machine with limited memory you can change fork mode so unit test consume less RAM, but run longer: -DtestReuseForks=false


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap