Uses of Class
org.eclipse.jgit.internal.storage.dfs.DfsBlockCacheConfig
Packages that use DfsBlockCacheConfig
Package
Description
Distributed file system based repository storage.
-
Uses of DfsBlockCacheConfig in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs that return DfsBlockCacheConfigModifier and TypeMethodDescriptionDfsBlockCacheConfig.fromConfig
(Config rc) Update properties by setting fields from the configuration.DfsBlockCacheConfig.setBlockLimit
(long newLimit) Set maximum number bytes of heap memory to dedicate to caching pack file data.DfsBlockCacheConfig.setBlockSize
(int newSize) Set size in bytes of a single window read in from the pack file.DfsBlockCacheConfig.setCacheHotMap
(Map<PackExt, Integer> cacheHotMap) Set the map of hot count per pack extension forDfsBlockCache
.DfsBlockCacheConfig.setConcurrencyLevel
(int newConcurrencyLevel) Set the estimated number of threads concurrently accessing the cache.DfsBlockCacheConfig.setIndexEventConsumer
(DfsBlockCacheConfig.IndexEventConsumer indexEventConsumer) Set the consumer of cache index events.DfsBlockCacheConfig.setRefLockWaitTimeConsumer
(Consumer<Long> c) Set the consumer for lock wait time.DfsBlockCacheConfig.setStreamRatio
(double ratio) Set percentage of cache to occupy with a copied pack.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsBlockCacheConfigModifier and TypeMethodDescriptionstatic void
DfsBlockCache.reconfigure
(DfsBlockCacheConfig cfg) Modify the configuration of the window cache.private static int
DfsBlockCache.tableSize
(DfsBlockCacheConfig cfg) Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsBlockCacheConfig