]> source.dussan.org Git - jgit.git/commit
dfs: add configurable name to block cache table stats 68/1198368/13
authorLaura Hamelin <haowl@google.com>
Wed, 24 Jul 2024 20:56:28 +0000 (13:56 -0700)
committerLaura Hamelin <haowl@google.com>
Mon, 7 Oct 2024 18:52:50 +0000 (11:52 -0700)
commitdd8c3dab8af85a4c367949c06c648d1e6c9a9f4a
treea4ef48dec199bb52cfe00cc8f24a74a817f36728
parentc213c90d677004d8cc0f59744a75edec9df5424a
dfs: add configurable name to block cache table stats

The addition of a name will help show statistics broken down per inner
cache table when more than one cache table is used.

The name configuration is obtained from the config subsection name
prefixed by `dfs`, or `dfs` for the base case.

Change-Id: Ia16c794f094d756441b779e3b1f1a3c992443509
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/ClockBlockCacheTableTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfigTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/PackExtBlockCacheTableTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/ClockBlockCacheTable.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfig.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheTable.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/PackExtBlockCacheTable.java