]> source.dussan.org Git - jgit.git/commit
DfsBlockCache: move cache table specific implementations to a new class 15/1177515/7
authorLaura Hamelin <haowl@google.com>
Tue, 27 Feb 2024 17:40:24 +0000 (09:40 -0800)
committerLaura Hamelin <haowl@google.com>
Tue, 5 Mar 2024 18:29:21 +0000 (10:29 -0800)
commitfe681b34fb36cd3fe9757fad789cfb16827c142d
treea3059c94ed8e10e5374b8b072bba840ba839d497
parent07d7452b380028df214d54f2d33beecd93d05be3
DfsBlockCache: move cache table specific implementations to a new class

This move of the cache table specific implementation to its own class
and extracting the method definition to an interface will allow for
additional reworking of the dfs block cache with the goal of letting
users implement their own context specific cache tables.

This work does not intend to change how the dfs block cache is accessed,
limiting the change to DfsBlockCache internal changes only.

Change-Id: Ief6755d1dcf54b4f73f9fe8d22ccb9e2952cb0c4
Signed-off-by: Laura Hamelin <haowl@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/ClockBlockCacheTable.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCache.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheTable.java [new file with mode: 0644]