Example usage for Java org.eclipse.jgit.storage.file WindowCacheConfig fields, constructors, methods, implement or subclass
The text is from its open source code.
int | MB 1024 #KB (number of bytes in one mebibyte/megabyte) |
WindowCacheConfig() Create a default configuration. |
int | getDeltaBaseCacheLimit() Get maximum number of bytes to cache in delta base cache for inflated, recently accessed objects, without delta chains. |
long | getPackedGitLimit() Get maximum number bytes of heap memory to dedicate to caching pack file data. |
int | getPackedGitOpenFiles() Get maximum number of streams to open at a time. |
int | getPackedGitWindowSize() Get size in bytes of a single window mapped or read in from the pack file. |
int | getStreamFileThreshold() Get the size threshold beyond which objects must be streamed. |
void | install() Install this configuration as the live settings. |
boolean | isPackedGitMMAP() Whether to use Java NIO virtual memory mapping for windows |
void | setDeltaBaseCacheLimit(int newLimit) Set maximum number of bytes to cache in delta base cache for inflated, recently accessed objects, without delta chains. |
void | setPackedGitLimit(long newLimit) Set maximum number bytes of heap memory to dedicate to caching pack file data. |
void | setPackedGitMMAP(boolean usemmap) Set whether to enable use of Java NIO virtual memory mapping for windows |
void | setPackedGitOpenFiles(int fdLimit) Set maximum number of streams to open at a time. |
void | setPackedGitWindowSize(int newSize) Set size in bytes of a single window read in from the pack file. |
void | setStreamFileThreshold(int newLimit) Set new byte limit for objects that must be streamed. |