Java org.eclipse.jgit.storage.file WindowCacheConfig fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.storage.file WindowCacheConfig fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.storage.file WindowCacheConfig.

The text is from its open source code.

Field

intMB
1024 #KB (number of bytes in one mebibyte/megabyte)

Constructor

WindowCacheConfig()
Create a default configuration.

Method

intgetDeltaBaseCacheLimit()
Get maximum number of bytes to cache in delta base cache for inflated, recently accessed objects, without delta chains.
longgetPackedGitLimit()
Get maximum number bytes of heap memory to dedicate to caching pack file data.
intgetPackedGitOpenFiles()
Get maximum number of streams to open at a time.
intgetPackedGitWindowSize()
Get size in bytes of a single window mapped or read in from the pack file.
intgetStreamFileThreshold()
Get the size threshold beyond which objects must be streamed.
voidinstall()
Install this configuration as the live settings.
booleanisPackedGitMMAP()
Whether to use Java NIO virtual memory mapping for windows
voidsetDeltaBaseCacheLimit(int newLimit)
Set maximum number of bytes to cache in delta base cache for inflated, recently accessed objects, without delta chains.
voidsetPackedGitLimit(long newLimit)
Set maximum number bytes of heap memory to dedicate to caching pack file data.
voidsetPackedGitMMAP(boolean usemmap)
Set whether to enable use of Java NIO virtual memory mapping for windows
voidsetPackedGitOpenFiles(int fdLimit)
Set maximum number of streams to open at a time.
voidsetPackedGitWindowSize(int newSize)
Set size in bytes of a single window read in from the pack file.
voidsetStreamFileThreshold(int newLimit)
Set new byte limit for objects that must be streamed.