public class PrefetchOptions extends Object
PrefetchingInputStreamFactory
and passed down.| Constructor and Description |
|---|
PrefetchOptions(int prefetchBlockSize,
int prefetchBlockCount)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPrefetchBlockCount()
Gets the size of prefetch queue (in number of blocks).
|
int |
getPrefetchBlockSize()
Gets the size in bytes of a single prefetch block.
|
public PrefetchOptions(int prefetchBlockSize,
int prefetchBlockCount)
prefetchBlockSize - the size (in number of bytes) of each prefetched block.prefetchBlockCount - maximum number of prefetched blocks.public int getPrefetchBlockSize()
public int getPrefetchBlockCount()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.