Merge pull request #84 (merge rpc module into commons)

refact(rpc): merge rpc module into commons
tree: de80c6ef626c06f1accbd009233c62a41593bc28
  1. .github/
  2. hugegraph-common/
  3. hugegraph-rpc/
  4. .gitignore
  5. checkstyle.xml
  6. LICENSE
  7. pom.xml
  8. README.md
README.md

hugegraph-commons

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.

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

Licence

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