| Modifier and Type | Field and Description |
|---|---|
| private int | |
| public static final int | KiB
1024 (number of bytes in one kibibyte/kilobyte) |
| private boolean | |
| public static final int | |
| private int | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DfsReaderOptions | Returns: thisconfiguration to read properties from. rc)Update properties by setting fields from the configuration. |
| public int | Returns: maximum number of bytes to hold in per-reader DeltaBaseCache.Get maximum number of bytes to hold in per-reader DeltaBaseCache. |
| public int | Returns: the size threshold beyond which objects must be streamed.Get the size threshold beyond which objects must be streamed. |
| public int | Returns: number of bytes to use for buffering when streaming a pack file during copying. If 0 the block size of the pack is used.Get number of bytes to use for buffering when streaming a pack file during copying. |
| public DfsReaderOptions | Returns: thisthe new limit. maxBytes)Set the maximum number of bytes in the DeltaBaseCache. |
| public DfsReaderOptions | Returns: thiswhether to load reverse index in parallel. loadRevIndexInParallel)Enable (or disable) parallel loading of reverse index. |
| public DfsReaderOptions | Returns: thisnew byte limit for objects that must be streamed. Objects
smaller than this size can be obtained as a contiguous byte
array, while objects bigger than this size require using an
newLimit)org..Set new byte limit for objects that must be streamed. |
| public DfsReaderOptions | Returns: thisnew buffer size in bytes for buffers used when streaming pack
files during copying. bufsz)Set new buffer size in bytes for buffers used when streaming pack files during copying. |
| public DfsReaderOptions | Returns: thistrue to use it, false to ignore the object size index useObjectSizeIndex)Set if the reader should try to use the object size index |
| public boolean | Returns: true if reverse index is loaded in parallel for bitmap index.Check if reverse index should be loaded in parallel. |
| public boolean | Returns: true if the reader should try to use the object size index. if false, the reader ignores that index.Use the object size index if available. |
| deltaBaseCacheLimit | back to summary |
|---|---|
| private int deltaBaseCacheLimit | |
| KiB | back to summary |
|---|---|
| public static final int KiB 1024 (number of bytes in one kibibyte/kilobyte) | |
| loadRevIndexInParallel | back to summary |
|---|---|
| private boolean loadRevIndexInParallel | |
| MiB | back to summary |
|---|---|
| public static final int MiB 1024 | |
| streamFileThreshold | back to summary |
|---|---|
| private int streamFileThreshold | |
| streamPackBufferSize | back to summary |
|---|---|
| private int streamPackBufferSize | |
| useObjectSizeIndex | back to summary |
|---|---|
| private boolean useObjectSizeIndex | |
| DfsReaderOptions | back to summary |
|---|---|
| public DfsReaderOptions() Create a default reader configuration. | |
| fromConfig | back to summary |
|---|---|
| public DfsReaderOptions fromConfig(Config rc) Update properties by setting fields from the configuration. If a property is not defined in the configuration, then it is left unmodified.
| |
| getDeltaBaseCacheLimit | back to summary |
|---|---|
| public int getDeltaBaseCacheLimit() Get maximum number of bytes to hold in per-reader DeltaBaseCache.
| |
| getStreamFileThreshold | back to summary |
|---|---|
| public int getStreamFileThreshold() Get the size threshold beyond which objects must be streamed.
| |
| getStreamPackBufferSize | back to summary |
|---|---|
| public int getStreamPackBufferSize() Get number of bytes to use for buffering when streaming a pack file during copying.
| |
| setDeltaBaseCacheLimit | back to summary |
|---|---|
| public DfsReaderOptions setDeltaBaseCacheLimit(int maxBytes) Set the maximum number of bytes in the DeltaBaseCache.
| |
| setLoadRevIndexInParallel | back to summary |
|---|---|
| public DfsReaderOptions setLoadRevIndexInParallel(boolean loadRevIndexInParallel) Enable (or disable) parallel loading of reverse index.
| |
| setStreamFileThreshold | back to summary |
|---|---|
| public DfsReaderOptions setStreamFileThreshold(int newLimit) Set new byte limit for objects that must be streamed.
| |
| setStreamPackBufferSize | back to summary |
|---|---|
| public DfsReaderOptions setStreamPackBufferSize(int bufsz) Set new buffer size in bytes for buffers used when streaming pack files during copying.
| |
| setUseObjectSizeIndex | back to summary |
|---|---|
| public DfsReaderOptions setUseObjectSizeIndex(boolean useObjectSizeIndex) Set if the reader should try to use the object size index
| |
| shouldLoadRevIndexInParallel | back to summary |
|---|---|
| public boolean shouldLoadRevIndexInParallel() Check if reverse index should be loaded in parallel.
| |
| shouldUseObjectSizeIndex | back to summary |
|---|---|
| public boolean shouldUseObjectSizeIndex() Use the object size index if available.
| |