HugeGraph Commons - include common library & RPC module

Clone this repo:
  1. e85ab38 refact: clean code & typo & update the name of getTimeZone (#105) by imbajin · 3 weeks ago master
  2. 3b1bcb1 rename package name `` to `org.apache` (#104) by ShouJing · 4 weeks ago
  3. 42ef9c4 chore: upgrade CodeQL version to v2 (#106) by DamonXue(Fibonacci) · 4 weeks ago
  4. 09b1819 update checkstyle (#97) by seagle · 4 months ago
  5. 745bd86 chore: use .asf.yaml for apache workflow rule (#98) by imbajin · 4 months ago


License codecov Maven Central

hugegraph-commons is a common module for HugeGraph and its peripheral components. hugegraph-commons encapsulates locks, configurations, events, iterators, rest and some numeric or collection util classes to simplify the development of HugeGraph and its components.


  • Lock: atomic lock, key lock, lock group and lock manger
  • Config: register and load config option with security check
  • Event: listening and notification, do something asynchronously
  • Iterator: some iterators with extra functions, map, filter, extend etc.
  • Rest: RESTful client implemented on Jersey, POST, PUT, GET and DELETE
  • Util: performance analyzer, version checker, numeric and Collection utils, log and exception utils etc.
  • Rpc: rpc component for inner module communication, currently it's based on Sofa-RPC


The same as HugeGraph, hugegraph-commons is also licensed under Apache 2.0 License.