Introduce base command class

Introduce a base class for all commands dealing with H2 caches. This is
useful to better structure the existing AnalyzeH2Caches command and to
set the ground for more commands, so that they can leverage common
functionalities by extending the same base class.

Feature: Issue 13989
Change-Id: I8254fda4bd85f50bb765c56bfd42ef17d29dba94
3 files changed
tree: 79effbafecef04de7d6e5bc7e5a775cf9755781d
  1. src/
  2. .gitignore
  3. BUILD
  4. build.md
  5. config.md
  6. external_plugin_deps.bzl
  7. Jenkinsfile
  8. LICENSE
  9. metrics.md
  10. README.md
  11. tuning.md
README.md

Persistent cache for Gerrit, based on ChronicleMap

Non-blocking and super-fast on-disk cache libModule for Gerrit Code Review based on ChronicleMap on-disk implementation.

How to build

This libModule is built like a Gerrit in-tree plugin, using Bazelisk. See the build instructions for more details.

Setup

  • Install cache-chronicalmap module

Install the chronicle-map module into the $GERRIT_SITE/lib directory.

Add the cache-chroniclemap module to $GERRIT_SITE/etc/gerrit.config as follows:

[gerrit]
  installModule = com.googlesource.gerrit.modules.cache.chroniclemap.ChronicleMapCacheModule

For further information and supported options, refer to config documentation.