DfsBlockCacheConfig |
DfsBlockCacheConfig.fromConfig(Config rc) |
Update properties by setting fields from the configuration.
|
DfsBlockCacheConfig |
DfsBlockCacheConfig.setBlockLimit(long newLimit) |
Set maximum number bytes of heap memory to dedicate to caching pack file
data.
|
DfsBlockCacheConfig |
DfsBlockCacheConfig.setBlockSize(int newSize) |
Set size in bytes of a single window read in from the pack file.
|
DfsBlockCacheConfig |
DfsBlockCacheConfig.setCacheHotMap(Map<PackExt,Integer> cacheHotMap) |
Set the map of hot count per pack extension for DfsBlockCache .
|
DfsBlockCacheConfig |
DfsBlockCacheConfig.setConcurrencyLevel(int newConcurrencyLevel) |
Set the estimated number of threads concurrently accessing the cache.
|
DfsBlockCacheConfig |
DfsBlockCacheConfig.setIndexEventConsumer(DfsBlockCacheConfig.IndexEventConsumer indexEventConsumer) |
Set the consumer of cache index events.
|
DfsBlockCacheConfig |
DfsBlockCacheConfig.setRefLockWaitTimeConsumer(Consumer<Long> c) |
Set the consumer for lock wait time.
|
DfsBlockCacheConfig |
DfsBlockCacheConfig.setStreamRatio(double ratio) |
Set percentage of cache to occupy with a copied pack.
|