diff options
author | Alina Djamankulova <adjama@google.com> | 2021-08-23 18:22:41 -0700 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2021-10-08 14:35:01 +0200 |
commit | 7d4f3c22ab26b98b703873c3554fec514f109752 (patch) | |
tree | 43497068952c2b012a795f9217f351dd7f9e99e3 /org.eclipse.jgit.packaging/org.eclipse.jgit.repository | |
parent | 578b6a79a3de1dcb933f3f58f5e6b5b133371360 (diff) | |
download | jgit-7d4f3c22ab26b98b703873c3554fec514f109752.tar.gz jgit-7d4f3c22ab26b98b703873c3554fec514f109752.zip |
DFS block cache: allow multiple passes for blocks before eviction
Let certain pack extensions that are expensive to load from storage
(e.g. pack index, bitmap index) stay in DFS block cache longer than
others by overriding default cache count through DfsBlockCacheConfig
Don't change default behavior when cache override map is empty. Use int
cacheCount instead of boolean hot for Ref<T>
Signed-off-by: Alina Djamankulova <adjama@google.com>
Change-Id: I18062784ec9cc14dbba3e4bb8d9509440cf2d44f
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.repository')
0 files changed, 0 insertions, 0 deletions